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
- In the Control Panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- Click Add Version.
- Optional: to immediately make the new version of the secret current, check the Make version current checkbox.
- Add the value of secret.
- Click Save.
View list of versions
- In the Control Panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- In the Versions block of the secret, look at the versions.
Make the version of the secret current
- In the Control Panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- From the version menu, select Make Current Version.
View version value
- In the Control Panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- In the Secret Versions block, from the Version menu, select View Value.
Copy version value
- In the Control Panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- In the Secret Versions block, in the Version menu, select Copy Value.