Environment Variables
Setting env vars
Include a .env file in your ZIP root — MoonBase auto-applies your project's own variables. After deployment, you can also manage env vars from Mission Control → Environment Variables card.
Drag-and-drop loader
During upload, you can drag your .env file directly into the consent dialog to auto-fill all your variables. Platform-managed keys (MOONBASE_*) are handled automatically.
Secrets safety
Values are write-only — they are never visible in the MoonBase UI again after being set, only the key names are shown. Values are stored encrypted at rest (AES-256-GCM). Do not commit real secrets to your repository.