cmd

package
v0.0.0-...-3af9a59 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "sm",
	Short: "Simple secret management tool",
	Long: `	
Simple secret management tool used to protect secrets in the server apps. 
	
It relies on the key management system (KMS) provided by the server environment.
For example, Amazon Web Services KMS is used for servers running on EC2 virtual 
machines. A fake KMS implementation can be used when running on developer machines 
to avoid storing unencrypted secrets in version control systems.

sm can be used in a command-line to encrypt and decrypt configuration files.

For example:

	cat plaintext.config.yaml | sm encrypt > encrypted.config.yaml
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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