Configuring Secrets

Adding Secrets

Secrets can be added and removed with an Environment or Organization scope from the Secrets tab in the settings page of the portal.

From the settings page on the side bar navigate to the Secrets tab.

Click theto open the Create Secret page. From here provide your secret with a name and select the scope for this secret and click Create.

When creating an Environment scoped secret a dropdown list of Environments are presented that the user has access to. You can select a specific Environment that the secret will be mapped to.

Using Secrets in a Blueprint

Now that we have our secret stored safely and securely we can begin to use it across all of our variables and Environments within the secrets scope. Using a secret in a blueprint is like using any other type of variable, we just specify it to be type: secret

This example shows how we would define a secret in our blueprint that can set the login administrative password using a securely stored secret.

admin_password:
    description: The username for the administrative user.
    type: secret

Selecting Secrets in your Environment

Secrets are customized to your Environment through the variables pane in the Environments page. When a variable is set to type: secret it will allow you to open a dropdown to select your secret. Click the secrets Value field to open up the secrets selection window.

This will bring up a menu of secrets that you have access to, allowing you to add an organizational or Environment scoped secret to the specified secret variable.

Last updated

Was this helpful?