Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ShortTimeFormat is a short format for printing timestamps ShortTimeFormat = "2006-01-02 15:04:05" // DefaultNumRetries is the default for the number of retries we'll use for our SSM client DefaultNumRetries = 10 )
View Source
const ( NullBackend = "NULL" SSMBackend = "SSM" SecretsManagerBackend = "SECRETSMANAGER" S3Backend = "S3" S3KMSBackend = "S3-KMS" BackendEnvVar = "CHAMBER_SECRET_BACKEND" BucketEnvVar = "CHAMBER_S3_BUCKET" KMSKeyEnvVar = "CHAMBER_KMS_KEY_ALIAS" NumRetriesEnvVar = "CHAMBER_RETRIES" DefaultKMSKey = "alias/parameter_store_key" )
Variables ¶
View Source
var Backends = []string{SSMBackend, SecretsManagerBackend, S3Backend, NullBackend, S3KMSBackend}
View Source
var RootCmd = &cobra.Command{ Use: "chamber", Short: "CLI for storing secrets", SilenceUsage: true, PersistentPreRun: prerun, PersistentPostRun: postrun, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.