asm

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL