Skip to main content
Manage environment variables for your apps. Values are encrypted at rest.

set

Set an environment variable. Keys are auto-uppercased.

Flags

Examples

JSON output


get

Get an environment value. Human output refuses secret-shaped values unless you pass the global --reveal-secrets flag. JSON output redacts them by default and sets contains_secrets: true. Write-only values set with --secret are never returned.

Flags

JSON output


list

List all environment variables for an app. Values are masked.

Flags

JSON output


unset

Remove an environment variable. Keys are auto-uppercased.

Flags

JSON output


import

Import environment variables from a .env file.

Flags

Examples

JSON output


Errors