Skip to content
Distr
Book Demo Start free trial Login

Customer Portal Secrets

As an end customer, you can create and manage secrets for your organization directly from the Customer Portal. Secrets store sensitive configuration values such as API keys, passwords, and database credentials that your deployments can reference using template syntax.

Customer Portal secrets page showing stored secrets

Navigate to Secrets in the sidebar to view and manage your organization’s secrets. The page shows each secret’s key, template reference, creation date, and who last updated it.

  1. Click Create Secret.
  2. Enter a Key (must start with a letter, can contain letters, numbers, and underscores).
  3. Enter the Value.
  4. Click Save.
  1. Click Edit next to the secret you want to update.
  2. Enter the new value (the key cannot be changed).
  3. Click Save.

Updated values are used in all future deployments. Existing deployments continue using the old value until they are redeployed.

Click the Delete button next to a secret and confirm. Make sure no active deployments reference the secret before deleting it.

Reference secrets in your deployment configuration using template syntax:

DATABASE_URL=postgresql://user:{{ .Secrets.DATABASE_PASSWORD }}@host:5432/db
API_KEY={{ .Secrets.API_KEY }}

The template reference for each secret is shown in the Reference column on the secrets page — copy it directly into your deployment environment variables.

For the full template syntax reference and advanced usage, see Secrets Management.