sota.io

sota env

Manage environment variables for the current project. Variables are encrypted at rest with AES-256-GCM.

Usage

sota env set KEY=VALUE
sota env get KEY
sota env list

Commands

Set a Variable

sota env set DATABASE_URL=postgres://...
sota env set STRIPE_KEY=sk_live_...

Set multiple variables (one at a time):

sota env set KEY1=VALUE1
sota env set KEY2=VALUE2

Get a Variable

$ sota env get DATABASE_URL
postgres://user:pass@host:5432/db

List All Variables

$ sota env list
DATABASE_URL=postgres://...
NODE_ENV=production
STRIPE_KEY=sk_live_...

Encryption

All environment variables are encrypted at rest using AES-256-GCM. They are decrypted only when injected into the container at runtime.

Auto-Injected Variables

These variables are automatically available in every container:

VariableValueDescription
PORT8080The port your app should listen on
DATABASE_URLConnection stringOnly if managed PostgreSQL is provisioned

Redeployment

Changing environment variables does not automatically trigger a redeployment. Run sota deploy to apply changes.