Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AsmCmd = &cobra.Command{
Use: "asm",
Short: "asm related commands",
PersistentPreRun: configClient,
}
AsmCmd represents the root of the asm command
View Source
var GetCmd = &cobra.Command{ Use: "get <secret_name>", Short: "Get secret", Long: `Get secret from the Secrets Manager. Uses of periods in the secret name will be used to denote selecting into a json object if it is returned.`, Args: cobra.ExactArgs(1), ValidArgsFunction: getCmdValidArgsFunc, Run: getFunc, }
GetCmd represents the get secret command
View Source
var ListCmd = &cobra.Command{
Use: "list",
Short: "List secrets",
Long: `List secrets from the Secrets Manager`,
Run: listFunc,
}
ListCmd represents the list secrets command
View Source
var SetCmd = &cobra.Command{ Use: "set <name> <value>", Short: "Set secret", Long: `Set secret in the Secrets Manager. If the secret does not exist it will be created.`, Args: cobra.ExactArgs(2), Run: setFunc, }
SetCmd represents the set secret command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.