Secrets
View and manage your credentials and environment variables
What it is: Secrets securely stores sensitive information like API keys, database credentials, and tokens. Secrets are only accessible from the backend, never exposed to the frontend.
How to access: Click the Secrets tab in the workspace topbar, or the agent will prompt you when secrets are needed.

Key features:
Secure storage: Encrypted and never exposed to frontend code
Environment variables: Access secrets as os.environ.get("SECRET_NAME")
Environment control: Separate secrets for dev, prod, or both
Easy updates: Update secret values without code changes
How to use:
When the agent needs a credential, it will prompt you
Enter the secret value when prompted
The agent automatically uses os.environ.get("SECRET_NAME") in code
Update secrets anytime in the Secrets tab
Tips:
Never hardcode API keys or credentials in your code
Secrets are only available in the backend - frontend code cannot access them
Use descriptive UPPERCASE_SNAKE_CASE names for secrets
For integrations with OAuth, use the Integrations feature instead
Last updated
Was this helpful?