ks file add

ks file add

Adds a file to secrets

Synopsis

Adds a file to secrets.

A secret file is a file which have content that can change across environments, such as configuration files, credentials, certificates and so on.

When adding a file, you will be asked for a version of its content for all known environments – the current content will be used as default.

ks file add <path to a file> [flags]

Examples

ks file add ./config/config.exs
ks file add ./wp-config.php
ks file add ./certs/my-website.cert

# Skip the prompts
ks file add -s ./credentials.json

Options

  -h, --help   help for add

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

Auto generated by spf13/cobra on 12-Jan-2023

Edit this page on GitHub