Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenerateCommand = &cli.Command{ Name: "generate", Aliases: []string{"gen", "new"}, Usage: "Generate a new private key and optionally store it in OS keyring", Flags: append(common.GlobalFlags, []cli.Flag{ common.EnvironmentFlag, &cli.BoolFlag{ Name: "store", Aliases: []string{"s"}, Usage: "Automatically store the generated key in OS keyring", }, }...), Action: generateAction, }
View Source
var ListCommand = &cli.Command{ Name: "list", Usage: "List all stored private keys by deployment environment", Flags: common.GlobalFlags, Action: listAction, }
View Source
var LoginCommand = &cli.Command{ Name: "login", Usage: "Store an existing private key in OS keyring", Flags: append(common.GlobalFlags, []cli.Flag{ common.EnvironmentFlag, }...), Action: loginAction, }
View Source
var LogoutCommand = &cli.Command{ Name: "logout", Usage: "Remove private key from OS keyring", Flags: append(common.GlobalFlags, []cli.Flag{ common.EnvironmentFlag, common.ForceFlag, }...), Action: logoutAction, }
View Source
var WhoamiCommand = &cli.Command{ Name: "whoami", Usage: "Show current authentication status and address", Flags: append(common.GlobalFlags, []cli.Flag{ common.EnvironmentFlag, }...), Action: whoamiAction, }
Functions ¶
func GetPrivateKeyWithSource ¶
GetPrivateKeyWithSource tries to get private key from multiple sources and returns the source
func ListStoredKeys ¶
ListStoredKeys returns all stored key environments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.