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.


Who manages them
Section titled “Who manages them”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.
Creating a secret
Section titled “Creating a secret”- In the Vendor Portal sidebar, click Settings and open the Secrets tab.
- Click Create Secret.
- Enter a Secret Key, for example
STAGING_API_TOKEN. It has to start with a letter and can contain only letters, numbers and underscores. - 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.
Changing a value
Section titled “Changing a value”- Click the secret in the list.
- Enter the new value. The key cannot be changed.
- 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.
Deleting a secret
Section titled “Deleting a secret”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.