Skip to main content

Versioning secrets

Versioning allows you to store multiple versions of a secret so that you can rotate secrets without stopping your service.

If a secret has versions, one of them is the current one - it is displayed in the list of versions with the tag Active. The version can be made current from the list of versions or when adding a new version.

You cannot delete a version of a secret - you can only delete a secret with all versions.

Add a version of the secret

  1. In the Control Panel, on the top menu, click Products and select Secrets Manager.
  2. In the Secrets section, open the secret page.
  3. Click Add Version.
  4. Optional: to immediately make the new version of the secret current, check the Make version current checkbox.
  5. Add the value of secret.
  6. Click Save.

View list of versions

  1. In the Control Panel, on the top menu, click Products and select Secrets Manager.
  2. In the Secrets section, open the secret page.
  3. In the Versions block of the secret, look at the versions.

Make the version of the secret current

  1. In the Control Panel, on the top menu, click Products and select Secrets Manager.
  2. In the Secrets section, open the secret page.
  3. From the version menu, select Make Current Version.

View version value

  1. In the Control Panel, on the top menu, click Products and select Secrets Manager.
  2. In the Secrets section, open the secret page.
  3. In the Secret Versions block, from the Version menu, select View Value.

Copy version value

  1. In the Control Panel, on the top menu, click Products and select Secrets Manager.
  2. In the Secrets section, open the secret page.
  3. In the Secret Versions block, in the Version menu, select Copy Value.