Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = &cli.Command{ Name: "generate-auth-secret", Usage: "creates a random, 32 byte hex string in a plaintext file to be used for authenticating JSON-RPC requests. If no --output-file flag is defined, the file will be created in the current working directory", Description: `creates a random, 32 byte hex string in a plaintext file to be used for authenticating JSON-RPC requests. If no --output-file flag is defined, the file will be created in the current working directory`, Flags: cmd.WrapFlags([]cli.Flag{ cmd.JwtOutputFileFlag, }), Action: func(cliCtx *cli.Context) error { if err := generateAuthSecretInFile(cliCtx); err != nil { logrus.WithError(err).Fatal("Could not generate jwt") } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.