Managing Secrets and Environment Variables

In the Beta9 dashboard, you’ll be able to create secrets and environment variables which you can access in your apps.

Secrets can be scoped globally to all of your apps, or limited to a specific app.

Using Secrets

Once created, you can access a secret like an environment variable:

import os

my_secret_key = os.environ['MY_SECRET_KEY']
You’ll need to redeploy your app for secrets to be updated.