1ctl secret get
Show details for a specific secret by name or ID.
1ctl secret get [key-name]Arguments
Section titled “Arguments”| Argument | Required | Variadic |
|---|---|---|
key-name |
No | No |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--id |
string | No | — | Secret ID (alternative to –app + positional key) |
--app |
string | No | — | App name (alternative to –id) |
--help, -h |
boolean | No | — | Show help |
Examples
Section titled “Examples”# Get secret by app and key name1ctl secret get DATABASE_PASSWORD --app my-app
# Get secret by ID1ctl secret get --id sec_abc123