Skip to content

Insert Secrets in Recipes

There are three ways to insert vault secrets into your recipes.

Warning

Secret lists do not contain secrets for custom, private vaults. For custom, private vault configurations, users must manually enter vault paths when defining variable values, defining override values, or inserting vault secrets directly into recipe node and resource files.

Secret security considerations

For security considerations, see Secrets Usage.

Use secrets in kitchen overrides

  1. Navigate to the Configure Kitchen page.
    • From the Kitchens page, click Configure Kitchen next to a kitchen name.
    • From the Recipes page, click Configure Kitchen icon next to the kitchen name in the green navigation bar.
  2. Select the Overrides tab.
  3. Click Add Variable at the bottom of the page.
  4. Enter a name.
  5. Select String for the variable type.
  6. In the Value field, click Use Secret.
  7. Select a vault secret from the list.

Visual example in Automation

(Screenshot of the Overrides tab with secrets)

Use secrets in recipe overrides

  1. Navigate to the Recipes page for a kitchen.
  2. Select the Variable Sets tab.
  3. Add a new variable set or edit an existing variable set to add a new variable.
  4. Enter a name, if needed.
  5. Select String for the variable type.
  6. In the Variable Value field, click Use Secret.
  7. Select a vault secret from the list.
  8. Save the variable set.

Use secrets in node connections

  1. Navigate to the Node Editor.
  2. Select the Connections tab.
  3. Select Specify Credentials for a source or sink connection.
  4. Click  Use Secret
  5. Select a secret from the list.
  6. Select Add notes for changelog , describe the changes, then click Update.

Visual example in Automation

(Connection tab in a node)