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
| Flag | Description |
|---|---|
-c, --config string | Configuration name. |
--local | Save the binding to the secrets section of .tuna.yml in the scope directory. |
--no-interactive | Fail instead of prompting when project or config is not specified. |
-p, --project string | Project name. |
--scope string | Directory to scope configuration. Default: .. |
--unset | Remove the personal binding of the scope directory. |
Also accepts the flags of tuna secrets.
Global flags work too.
History
| 0.43.0 | Added the --local and --unset flags. |
| 0.35.0 | Added the --no-interactive flag. |
| 0.24.0 | Command added. |