Skip to content
Distr
Book DemoStart free trialLogin

Internal Deployment Secrets

Internal deployment secrets hold the credentials of your own deployments, the ones on deployment targets without a customer, for example a staging environment token or an API key for a test system. Distr never injects them into a customer’s deployments. A credential that a customer deployment needs belongs in that customer’s secrets.

Secrets tab of the organization settings with a secret, its template reference and who updated it last

Internal deployment secrets belong to your organization alone. Partners and customers never see them. Everyone on your team sees the keys and who updated a secret last, never the values: Distr does not show a value again once it is saved. Members with the role Administrator or User can create, change and delete secrets. Viewers only see the list.

  1. In the Vendor Portal sidebar, click Settings and open the Secrets tab.
  2. Click Create Secret.
  3. Enter a Secret Key, for example STAGING_API_TOKEN. It has to start with a letter and can contain only letters, numbers and underscores.
  4. Enter the Secret Value and click Submit.

The Reference column shows the template to put into the deployment configuration, for example {{ .Secrets.STAGING_API_TOKEN }}, with a button to copy it. See Using secrets in deployments for where a reference works.

  1. Click the secret in the list.
  2. Enter the new value. The key cannot be changed.
  3. Click Submit.

When deployments use the secret, the form lists the deployment targets that will be redeployed with the new value, and the button reads Save and redeploy.

Click the delete button next to the secret and confirm by typing its key. Distr does not delete a secret that a deployment still references and names the deployment targets that use it instead. Remove the reference from their configuration first.