How to create folders with Secret Manager
The folder 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 folder for the first time using the Scaleway console and how to create a folder if you have already created resources in Secret Manager.
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
- You have an account and are logged into the Scaleway console
- You have generated an API key and enabled the
SecretManagerFullAccess
permission set
If you have no resources in Secret Manager yet, you can create a folder when creating your secret.
- Click Secret Manager in the Security and Identity section of the Scaleway console side menu.
- Click + Create secret.
- Choose the region in which you want to store your folder.
Important:
Folders cannot be moved from one region to another after creation.
- Select Create a new path and enter
/
followed by a name for your folder. For example/my-folder
if you want to create a folder namedmy-folder
.Important:A path is the directory structure to access your folders and secrets. Each path must be prefixed with a slash.
- Enter a name for your secret and add tags (optional).
- Add your secret manually or import it from a file.
Note:
The maximum file size for your secret is 64 KiB.
- Click Create secret. The Overview tab of your secret displays.
- Click Back to Secrets to display your folder and its contents.
- Click Secret Manager in the Security and Identity section of the Scaleway console side menu.
- Select your desired region in the Region drop-down.
Important:
Folders cannot be moved from one region to another after creation.
- Navigate to the path you want to create your folder in (either
/
or an existing folder). - Click + Create folder.
- Enter a name for your folder.
- Click Create folder. Your folder displays.