Skip to content

Create and Edit Secrets

Secret values can either be saved as text or as files containing keys.

  • Text values: Group vault entries for a common service under a common path, and enter the path as a string value.

    For example, dockerhub/username and dockerhub/password.

  • Files: Upload a key file, such as a PEM file.

Tip

DKCloudCommand option: Use the secret-write command in the command line interface.

Create or edit a secret

  1. Navigate to the Secrets page.
  2. Click Add Secret below the Global Secrets or Kitchen Secrets section.
  3. In the Add Secret dialog, enter a name.
  4. Select the Entry Value.
    1. For Text Input, enter a string containing the secret or path.
    2. For File Input, drag and drop or browse to select the file.
  5. Click Update.

To edit a secret, from the Secrets page, click Edit Secret associated with the secret. Make updates to the name and Entry Value as needed, then click Update.

Warning

After a secret value is saved, you cannot view its underlying value.

Visual example in Automation

(Screenshot of the Add Secret dialog)