Scaleway Secret Manager
Read secrets, folders and JSON fields from Scaleway Secret Manager with an API key.
Before you start
Create an API key scoped to the project that holds your secrets.
- In the Scaleway console, open IAM → API Keys → Generate an API key.
- Scope it to that project and attach a permission set that includes SecretManagerReadOnly, or a policy with equivalent read access.
- Copy the Secret Key. It is shown once.
The Secret Key is the whole credential. There is no separate access key ID; wtree Cloud sends it in the X-Auth-Token header.
Connect
Open Integrations › Secret vaults › Add provider and choose Scaleway Secret Manager.
| Field | Value |
|---|---|
| Name | Reference name, for example scaleway-sm |
| Region | fr-par, nl-ams or pl-waw |
| Project ID | Scaleway project holding the secrets |
| Secret Key | The API key's secret key |
| API URL | Optional. Default https://api.scaleway.com. Override only for compatible proxies or emulators |
Click Test connection, save, and assign projects and environments.
Use it
References use the secret name, optionally prefixed by its folder and suffixed with :<field> for a JSON payload:
API_TOKEN=${{vault.scaleway-sm.api-token}}
DB_PASSWORD=${{vault.scaleway-sm.prod/database:password}}
DB_HOST=${{vault.scaleway-sm.prod/database:host}}Without a field, the whole payload is injected as is.
Limits
Only the latest enabled version of a secret is read.
