Skip to main content

tuna secrets setup

Bind a directory to a secrets project and config.

The binding is looked up from --scope up to the git repository root: the secrets section of .tuna.yml is shared with everyone who clones the repository, a personal binding in the CLI config overrides it on this machine.

Usage
tuna secrets setup [flags]
Examples
tuna secrets setup
tuna secrets setup --local -p backend -c dev
tuna secrets setup -p backend -c dev_ivan
tuna secrets setup --unset
FlagDescription
-c, --config stringConfiguration name.
--localSave the binding to the secrets section of .tuna.yml in the scope directory.
--no-interactiveFail instead of prompting when project or config is not specified.
-p, --project stringProject name.
--scope stringDirectory to scope configuration. Default: ..
--unsetRemove the personal binding of the scope directory.

Also accepts the flags of tuna secrets.

Global flags work too.

History​

0.43.0Added the --local and --unset flags.
0.35.0Added the --no-interactive flag.
0.24.0Command added.