Environment Variables

Learn how to use Boundary Functions Environment Variables, which are key-value pairs configured outside your source code.

Environment variables are key-value pairs, configured outside your source code, and used to provide secrets for your deployed BAML functions, such as ANTHROPIC_API_KEY and OPENAI_API_KEY.

You can set environment variables in the Boundary Dashboard by going to the left sidebar and clicking on the cloud icon.

Boundary Cloud secrets

Changes to environment variables will take effect immediately.

Limits

See Limits for more information.