zeta
Configuration

Environment Variables

Configure environment variables for Zeta Registry.

Environment Variables

Zeta uses environment variables to securely manage secrets and integrate with external services like Polar.sh. You must configure these variables before running your registry.

Required Variables

VariableTypeRequiredDescription
REGISTRY_TOKEN_SECRETstringYesSecret key for signing and verifying registry tokens. Generate a strong random value. Docs
POLAR_ORG_IDstringYesYour Polar.sh organization ID. Find it in your Polar dashboard.
POLAR_ACCESS_TOKENstringYesAPI token for accessing Polar.sh endpoints.
POLAR_IS_SANDBOXboolNoSet to true to use Polar's sandbox environment for testing. Defaults to false.

Example .env file

REGISTRY_TOKEN_SECRET=your-random-secret
POLAR_ORG_ID=your-polar-organization-id
POLAR_ACCESS_TOKEN=your-polar-access-token
POLAR_IS_SANDBOX=false

Tips

  • Never commit your .env file to version control.
  • Use a password manager or secret manager to store sensitive values.
  • For more details on each variable, see the installation guide.

Detailed Variable Reference

On this page