shc vault
shc vault
Section titled “shc vault”manage secrets and credentials
shc vault [flags]Options
Section titled “Options” -h, --help help for vault -p, --password string vault password (visible in the process list, prefer --password-file) --password-file string read the vault password from a file (mode 0600 expected); use '-' to read stdin. Takes precedence over --password and never puts the secret in argvOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -t, --tenant string tenant name (default: $SHC_TENANT) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc - Selfhosted Cloud CLI
- shc vault coldstart - show which node holds the vault cold-start capability
- shc vault escrow - record where the vault unlock key and the backup key are escrowed
- shc vault exists - check whether a secret exists
- shc vault export - export secrets to an encrypted bundle
- shc vault get - get a secret value
- shc vault import - import an encrypted bundle into the vault
- shc vault ls - list secrets
- shc vault rm - remove a secret
- shc vault rotate - rotate the vault master password (re-encrypts every secret)
- shc vault set - set a secret value
- shc vault status - show vault status
- shc vault unlock - unlock the vault (alias for bare
shc vault)
shc@docs:~$