NavigationContentFooter
Suggest an edit

How to create secrets with Secret Manager

Reviewed on 12 February 2024Published on 21 February 2023

The secret creation process slightly differs depending on whether you are using Secret Manager for the first time or not. This page explains how to create a secret for the first time using the Scaleway console and how to create a secret if you have already created resources in Secret Manager.

Security & Identity (IAM)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed or an IAM user with the necessary permissions.

Requirements

You have an account and are logged into the Scaleway console

  1. Click Secret Manager in the Security and Identity section of the Scaleway console side menu.
  2. Click + Create secret.
  3. Choose the region in which you want to create your secret.
    Important

    Secrets cannot be moved from one region to another after creation.

  4. Create a path in which to store your secret. The path name must be prefixed with a slash.
  5. Enter a name for your secret and add optional tags.
  6. Add your secret manually or import it from a file.
    Note

    The maximum file size for your secret is 64 KiB.

  7. Optionally, click «Toogle Icon» to enable secret protection.
  8. Optionally, click «Toogle Icon» next to Single access or Time to Live to apply an ephemeral policy to your secret and its versions.
    Important
    • Single access: allows you to set your secret versions to expire after one single access.
    • Time to Live: allows you to set a time frame of up to one year, during which your secret versions are valid and accessible.
    • The ephemeral policy can only be applied to a secret at creation, and cannot be removed once applied.
    • Once applied to a secret, the ephemeral policy’s settings will be applied to all the secret’s versions (even those created subsequently).
  9. Click Create secret. The Overview tab of your secret displays.
Note
  • The value of your secret is stored in its first version, which is enabled by default. At creation, your secret only has one version. Find out how to add more versions to your secret.
  • Your path and secret are created on the go.
See also
How to manage a secret
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS