0.35+
tuna secrets configs tokens create
Create a service token for a config.
Usage
tuna secrets configs tokens create [flags]
| Flag | Description |
|---|---|
--access string | Token access (read or write). Default: read. |
-c, --config string | Configuration name (the CLI config file path is controlled by TUNA_CONFIG). |
--description string | Token description. |
--max-age string | Token lifetime as Go duration (e.g. 720h); empty means no expiration. |
--plain | Print only the token without a trailing newline. |
-p, --project string | Project name. |
--scope string | Directory to scope configuration. Default: .. |
Also accepts the flags of tuna secrets.
Global flags work too.
History
| 0.35.0 | Command added. |