ks source

ks source

Echo a script to load secrets, and writes files

Synopsis

Echo a script to load secrets, and writes files.

Environment variables values can then be loaded using eval, for example.

Example:

$ ks source
export KEY="value"
export OTHER_KEY="other_value"

$ eval "$(ks source)"
$ echo $KEY
value
$ echo $OTHER_KEY
other_value
ks source [flags]

Options

  -h, --help   help for source

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --debug           debug output
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default

SEE ALSO

  • ks - A safe system for developers to store, share and use secrets.
Auto generated by spf13/cobra on 12-Jan-2023

Edit this page on GitHub