Secrets and Environment Variables

Environment variables

The recommended way to configure bees at runtime is by using environment variables. These can be literal environment variable values or they can leverage Bytewax secrets. More on that below.

Literal values This line will populate a Bees environment variable LITERAL_ENV with the value literal_value.

Secrets To pass secret values like a database password or an API token, Bytewax provides secret management. You can manage your secrets in the Bytewax dashboard, via the CLI tool waxctl or via the REST API. Once you create a secret, it can be passed through as an environment variable with as seen in this example with the secret clause.