This feature is coming soon. Stay up to date with progress on our Roadmap.
Using Agent Vault
Go to the Environment Variables page for your project. If you’re in the private beta, you’ll see a banner prompting you to enable Agent Vault.Agent Vault only works in deployed environments (Staging, Production and Preview), not in
Development.
- Click Add new.
- Enter the key and value, then toggle Agent Vault on for the value.
- Enter the domains the secret can be sent to.
- Hover over its row and click To Vault.
- Enter the domains the secret can be sent to, pressing Enter or Tab after each one.
- Click Move to Vault.
How it works
Your task runs get a dummy value in place of the real secret. When you make a request with that value to a configured host, Agent Vault proxies the request, adding the real credentials.Builds
Vault secrets are not available at build time. Top-level code in your task files runs during the build, so anything there that needs the secret to have a value will fail. Move that code insiderun.

