Skip to main content
0.35+

tuna secrets configs tokens create

Create a service token for a config.

Usage
tuna secrets configs tokens create [flags]
FlagDescription
--access stringToken access (read or write). Default: read.
-c, --config stringConfiguration name (the CLI config file path is controlled by TUNA_CONFIG).
--description stringToken description.
--max-age stringToken lifetime as Go duration (e.g. 720h); empty means no expiration.
--plainPrint only the token without a trailing newline.
-p, --project stringProject name.
--scope stringDirectory to scope configuration. Default: ..

Also accepts the flags of tuna secrets.

Global flags work too.

History​

0.35.0Command added.