Skip to content

1ctl secret get

Show details for a specific secret by name or ID.

1ctl secret get [key-name]
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
Terminal window
# Get secret by app and key name
1ctl secret get DATABASE_PASSWORD --app my-app
# Get secret by ID
1ctl secret get --id sec_abc123