NavigationContentFooter
Suggest an edit

How to add a version to a secret

Reviewed on 14 November 2024Published on 21 February 2023

When creating a secret, its value is stored in its first version, which is enabled by default. At creation, your secret only has one version.

This page explains how to add more versions to a secret using the Scaleway console.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Generated an API key and enabled the SecretManagerFullAccess permission set
  • Created a secret
  1. Click Secret Manager in the Security and Identity section of the Scaleway console side menu.

  2. Select the region in which the secret you want to update is, in the Region drop-down.

  3. Access the secret that you want to add a version to. Your secret’s Overview tab displays.

  4. Click the Versions tab.

  5. Click + Create version. A pop-up displays.

  6. Add your version:

    • manually
    • import it from a file
    • or click Copy from latest version to restore your latest enabled version
  7. Optionally, if you have selected Copy from latest version and applied the Single access ephemeral policy to your secret, click Copy from latest version to acknowledge the information displayed in the yellow banner, and confirm.

    Important
    • Restoring a former version of a secret where you have applied the Single access ephemeral policy counts as an access, meaning it will then be disabled and/or deleted depending on the policies applied.
    • By default, all your secret versions have the same type as the secret they belong to. You cannot change the type after you have created the secret.
  8. Click the «Toogle Icon» icon if you want to enable the version.

  9. Click Create version.

See also
How to filter secretsHow to manage a version
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway