cmd

package
v0.0.0-...-98ca5a1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "eh",
	Short: "Encrypt and decrypt protected values in .hcl files",
	Long: `	
Protect secrets in .hcl files. 
	
This utility 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 special "local" implementation can be used when running on developer machines 
to avoid storing unencrypted secrets in version control systems.

The utility uses a special 'eh' element in the .hcl file that defines encryptin parameters.

For example:

	eh encrypt -i config.hcl
	eh read config.hcl
	eh decrypt -i config.hcl
`,
}

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