cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "vault-config",
	Short: "vault-config is a tool for codifying the configuration of vault",
	Long: `vault-config is a tool for codifying the configuration of vault
configuration is defined in HCL and it utilises encryption so
sensitive data can be pushed to github or similar

To configure a Vault server you need to specify the following
environment variables

VC_VAULT_ADDR        - Address of Vault server to apply config to
VC_VAULT_TOKEN       - Token to authenticate to Vault with
VC_VAULT_SKIP_VERIFY - Skip TLS verification

The standard Vault environment variables can be configured for
use with the templating engine, this will allow getting secrets
from another Vault server, see the README for more information`,
}

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