Skip to main content

Scaleway Secret Manager

@sntxrr/scaleway-secret-managerv2026.10.14.1· MIT(was none)· 12d agoBEHAVIORS
01README

Manage a Scaleway Secret Manager secret — sync/create/update/delete metadata, list secrets in a region, add new secret versions, and access secret values (returned only via a sensitive, vaulted output), via the Secret Manager API with X-Auth-Token auth.

02Release Notes

Declare SPDX license (MIT) in manifest.

03Behaviors1
@sntxrr/scaleway-secret-managerv2026.07.19.1scaleway_secret_manager.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the secret.
region?stringRegion, e.g. fr-par, nl-ams, pl-waw.
secretId?stringID of the Secret Manager secret this model manages. Optional — `create`
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the secret's current metadata (GetSecret).
fn create(name: string, type?: string, tags?: array, path?: string, description?: string)
Create a new secret's metadata (CreateSecret) — name/tags only, no value.
ArgumentTypeDescription
namestringName of the new secret.
type?stringSecret type, e.g. opaque, key_value, basic_credential. Defaults to opaque.
tags?arrayTags to attach to the new secret.
path?stringLocation of the secret in the directory structure, e.g. /prod.
description?stringHuman-readable description of the secret. Not a secret value.
fn update(name?: string, tags?: array, path?: string, description?: string)
Mutate a secret's mutable metadata (UpdateSecret) — name, tags, path.
ArgumentTypeDescription
name?stringNew name for the secret.
tags?arrayReplacement set of tags for the secret.
path?stringNew path for the secret.
description?stringNew description for the secret. Not a secret value.
fn delete()
Delete the secret and all its versions (DeleteSecret).
fn list()
Discover all secrets in the region (factory).
fn add-version(value: string, description?: string, disablePrevious?: boolean)
Store a new secret value as a version (CreateSecretVersion).
ArgumentTypeDescription
valuestringRaw secret value to store as a new version. Sensitive — base64-encoded
description?stringDescription of this version. Not a secret value.
disablePrevious?booleanDisable the previous version when creating this one.
fn access(revision?: string)
Read a secret version's value (AccessSecretVersion). The value is
ArgumentTypeDescription
revision?stringVersion to access: 'latest' or a numeric revision. Defaults to latest.

Resources

secret(infinite)— Snapshot of the secret's metadata (never its value)
secretVersion(infinite)— Snapshot of a secret version's metadata (never its value)
secretValue(infinite)— The accessed secret value. Sensitive — vaulted, never logged.
04Previous Versions2
2026.07.19.1
2026.07.18.1
05Stats
A
100 / 100
Downloads
27
Archive size
12.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels