Secret versioning
Versioning allows you to store multiple versions of a secret for secret rotation without interrupting your service operations.
If a secret has versions, one of them is current—it appears in the list of versions with the Active tag. You can set a version as current from the list of versions or when adding a new version.
You cannot delete a secret version; you can only delete the secret with all of its versions.
Add a secret version
- 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 secret version current, select the Make version current checkbox.
- Add the secret value.
- Click Save.
View the 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 Secret versions block, view the versions.
Make a secret version current
- In the Control panel, on the top menu, click Products and select Secrets Manager.
- In the Secrets section, open the secret page.
- In the version menu, select Make current version.
View a 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 View value.
Copy a 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.