jx get vault-config

list of jx commands

jx get vault-config

Gets the configuration for using the Vault CLI


Used to echo the Vault connection configuration for the Jenkins X system Vault. To have the settings apply to the current terminal session the output must be evaluated, for example:

$ eval $(jx get vault-config)

Together with the name and namespace option, this command can be used to echo the connection configuration for any vault installed via ‘jx add vault’.

jx get vault-config [flags]


  # Gets vault config
  jx get vault-config


  -h, --help               help for vault-config
  -m, --name string        Name of the Vault to get the config for
  -n, --namespace string   Namespace from where to get the Vault config
  -t, --terminal string    terminal type output override. Values: ['sh', 'cmd'].

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace


  • jx get - Display one or more resources
Auto generated by spf13/cobra on 2-Sep-2020