Environment

Manage secrets and configuration for your applications.

Note: Changes to environment variables take effect on your next deployment. They are not automatically injected into running containers.

slasha env list

View all environment variables currently configured for an application.

# List variables for the current app
slasha env list

slasha env set

Set one or more environment variables. You can provide multiple key-value pairs at once.

# Set a single variable
slasha env set API_KEY=secret_value

# Set multiple variables
slasha env set DEBUG=true PORT=3000

# Quote values that contain spaces
slasha env set GREETING="Hello World"

slasha env unset

Remove environment variables by their key.

# Remove a single variable
slasha env unset SECRET_KEY

# Remove multiple variables
slasha env unset KEY1 KEY2 KEY3