Skip to main content
0.35+

tuna secrets set

Set the value of one or more secrets.

Value can be passed inline (KEY=VALUE), as a separate argument (KEY VALUE), piped via stdin (echo value | tuna secrets set KEY) or entered interactively.

Usage
tuna secrets set KEY=VALUE... [flags]
FlagDescription
-c, --config stringConfiguration name (the CLI config file path is controlled by TUNA_CONFIG).
--no-interactiveDo not allow entering the secret value interactively.
--note stringNote to set on the secrets.
-p, --project stringProject name.
--scope stringDirectory to scope configuration. Default: ..
--type stringSecret value type (string, json, boolean, integer, decimal, email, url, yaml, xml, date, datetime).
--visibility stringSecret visibility (masked, unmasked or restricted).

Also accepts the flags of tuna secrets.

Global flags work too.

History​

0.35.0Command added.