veirox secret
Manage project secrets
Synopsis
veirox secret <subcommand> [args] [flags]
Description
Manage project secrets
Subcommands
| Command | Description |
|---|---|
veirox secret count | Count secrets |
veirox secret get <secret-id> | Get secret |
veirox secret list | List secrets |
veirox secret put <name> | Create secret |
veirox secret rm <secret-id> | Delete secret |
veirox secret update <secret-id> | Update secret |
veirox secret count
Count secrets
veirox secret count
veirox secret get <secret-id>
Get secret
| Flag | Type | Default | Description |
|---|---|---|---|
--plain | bool | false | print decrypted secret value |
veirox secret get <secret-id> --plain
veirox secret list
List secrets
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | int | 50 | max items |
--offset | int | 0 | offset |
veirox secret list --limit 20 --offset 0
veirox secret put <name>
Create secret
| Flag | Type | Default | Description |
|---|---|---|---|
--description | string | — | description |
--environment | string | — | environment |
--provider | string | — | provider |
veirox secret put GITHUB_TOKEN --value-from-env GITHUB_TOKEN
veirox secret rm <secret-id>
Delete secret
| Flag | Type | Default | Description |
|---|---|---|---|
--yes | bool | false | confirm delete |
veirox secret rm <secret-id> --yes
veirox secret update <secret-id>
Update secret
| Flag | Type | Default | Description |
|---|---|---|---|
--description | string | — | description |
--environment | string | — | environment |
--name | string | — | name |
--provider | string | — | provider |
veirox secret update <secret-id> --value-from-file .env.secret
Exit codes
| Code | Meaning |
|---|---|
0 | Success. |
1 | Generic error (network, API 5xx). |
2 | Validation error (bad flag, missing required arg). |
3 | Unauthenticated — run veirox login or set VEIROX_API_KEY. |
4 | Not found (resource does not exist in this project). |
5 | Permission denied (your role / API key lacks the scope). |