Securely manage API keys, tokens, and other sensitive configuration data at the account level
API_KEY
, DATABASE_URL
, JWT_SECRET
secrets
parameter. The key is what the secret will be called in the devbox’s environment variables, and the value is the name of the secret in your account.
After creating a secret with the name SECRET_NAME
, you can launch a devbox with it by specifying secrets: { DEVBOX_SECRET: "SECRET_NAME" }
. This will make the value of SECRET_NAME
(my-secure-secret-123
if following the example above) available as an environment variable DEVBOX_SECRET
in the devbox.
STRIPE_SECRET_KEY
SECRET1
DATABASE_URL
databaseUrl