Cloud agents often need to authenticate with external services — GitHub, third-party APIs, databases, and more. Warp Managed Secrets give you a secure place to store those credentials and a reliable mechanism for making them available inside agent containers at runtime, without ever putting sensitive values in your code or shell history. Secrets are encrypted at rest and injected as environment variables when an agent run starts. The agent itself can read them like any other environment variable, and they are never logged in the run transcript.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/warpdotdev/warp/llms.txt
Use this file to discover all available pages before exploring further.
Managing secrets
All secret commands are available underoz secret.
Create a secret
--value-file:
oz secret create flags:
| Flag | Short | Description |
|---|---|---|
--type | -t | Secret type: raw-value (default) or anthropic-api-key |
--description | -d | Optional description for this secret |
--value-file | -f | File to read the secret value from instead of stdin |
Create a typed Anthropic secret
For agents that use the Claude Code harness, Oz supports provider-specific secret creation that validates the credential format automatically.- Direct API key
- Bedrock API key
- Bedrock access key
List secrets
Update a secret
To rotate a secret’s value, useoz secret update. Oz will prompt for the new value interactively, or you can supply a file.
oz secret update flags:
| Flag | Short | Description |
|---|---|---|
--value | — | Prompt for a new secret value interactively |
--value-file | -f | File to read the new secret value from |
--description | -d | New description for the secret |
Delete a secret
How agents access secrets at runtime
When an agent run starts, Warp injects all secrets in the run’s scope as environment variables inside the agent container. The variable name matches the secret name you chose when creating the secret. For example, if you created a secret namedGITHUB_TOKEN:
Secret scoping
By default, secrets are created in your personal scope. Use--team to create a secret shared across your team, or --personal to explicitly create a private secret:
Security considerations
Are secret values ever shown in output?
Are secret values ever shown in output?
No.
oz secret list only returns secret names and descriptions. The oz secret update command prompts for the value interactively and does not echo it. Values are never included in run transcripts or logs.How are secrets stored?
How are secrets stored?
Secrets are encrypted at rest in Warp’s infrastructure. They are decrypted only at the moment they are injected into an agent container, and only for the duration of that run.
Can I use secrets with scheduled agents?
Can I use secrets with scheduled agents?
Yes. Secrets are injected into every run, whether triggered manually or by a schedule. As long as the secret exists in the right scope when the scheduled agent fires, it will be available.