Command 'juju add-secret-backend'
Usage:
juju add-secret-backend [options] <backend-name> <backend-type>
Summary:
Add a new secret backend to the controller.
Global Options:
--debug (= false)
Equivalent to --show-log --logging-config=<root>=DEBUG
-h, --help (= false)
Show help on a command or other topic.
--logging-config (= "")
Specify log levels for modules
--quiet (= false)
Show no informational output
--show-log (= false)
If set, write the log file to stderr
--verbose (= false)
Show more verbose output
Command Options:
-c, --controller (= "")
Controller to operate in
--config (= )
Path to yaml-formatted configuration file
--import-id (= "")
Add the backend with the specified id
Details:
Adds a new secret backend for storing secret content.
You must specify a name for the backend and its type, followed by any necessary backend specific config values. Config may be specified as key values ot read from a file. Any key values override file content if both are specified.
To rotate the backend access credential/token (if specified), use the “token-rotate” config and supply a duration.
Examples:
juju add-secret-backend myvault vault --config /path/to/cfg.yaml
juju add-secret-backend myvault vault token-rotate=10m --config /path/to/cfg.yaml
juju add-secret-backend myvault vault endpoint=https://vault.io:8200 token=s.1wshwhw
See also:
list-secret-backends
remove-secret-backend
show-secret-backend
update-secret-backend
Last updated 3 months ago.