Skip to main content

Storing Secrets and Environment Variables

Secrets and environment variables can be injected into the containers that run your apps. You can manage secrets through the CLI:

Using Secrets

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

Passing Secrets to on_start

If your app used an on_start function, secrets can be passed to that function as well.

CLI Commands

List Secrets

Create a Secret

If your secret contains special characters, you may need to escape them with a backslash. For example, a$b would need to be a\$b.

Show a Secret

Modify a Secret

Delete a Secret