Scaleway logo
Secret Manager API

google.protobuf.Int32Value

integer | null · int32

scaleway.secret_manager.v1beta1.AccessSecretVersionResponse

secret_id
​string

ID of the secret. (UUID format)

revision
​integer · uint32

Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1.

data
​string

The base64-encoded secret payload of the version.

data_crc32
​integer | null · uint32

The CRC32 checksum of the data as a base-10 integer. This field is only available if a CRC32 was supplied during the creation of the version.

Type of the secret. See the Secret.Type enum for a description of values.

Enum values:
unknown_type
opaque
certificate
key_value
basic_credentials
database_credentials
ssh_key
Default: unknown_type

scaleway.secret_manager.v1beta1.EphemeralPolicy

time_to_live
​string | null

Time frame, from one second and up to one year, during which the secret's versions are valid. (in seconds)

expires_once_accessed
​boolean | null

Returns true if the version expires after a single user access.

Action to perform when the version of a secret expires. See the EphemeralPolicy.Action enum for a description of values.

Enum values:
unknown_action
delete
disable
Default: unknown_action

scaleway.secret_manager.v1beta1.EphemeralPolicy.Action

string · enum
Enum values:
unknown_action
delete
disable
Default: unknown_action

scaleway.secret_manager.v1beta1.EphemeralProperties

expires_at
​string | null · date-time

The version's expiration date. (Optional.) If not specified, the version does not have an expiration date. (RFC 3339 format)

expires_once_accessed
​boolean | null

Returns true if the version expires after a single user access. (Optional.) If not specified, the version can be accessed an unlimited amount of times.

Action to perform when the version of a secret expires. See EphemeralPolicy.Action enum for a description of values.

Enum values:
unknown_action
delete
disable
Default: unknown_action

scaleway.secret_manager.v1beta1.ListSecretVersionsResponse

Single page of versions.

total_count
​integer · uint64

Number of versions.

scaleway.secret_manager.v1beta1.ListSecretsRequest.OrderBy

string · enum
Enum values:
name_asc
name_desc
created_at_asc
created_at_desc
updated_at_asc
updated_at_desc
Default: name_asc

scaleway.secret_manager.v1beta1.ListSecretsResponse

Single page of secrets matching the requested criteria.

total_count
​integer · uint64

Count of all secrets matching the requested criteria.

scaleway.secret_manager.v1beta1.Product

string · enum
Enum values:
unknown_product
edge_services
s2s_vpn
Default: unknown_product

scaleway.secret_manager.v1beta1.Secret

id
​string

ID of the secret. (UUID format)

srn
​string · pattern: ^srn://secret-manage…

The SRN of the secret.

project_id
​string

ID of the Project containing the secret. (UUID format)

name
​string

Name of the secret.

Current status of the secret.

  • ready: the secret can be read, modified and deleted.
  • locked: no action can be performed on the secret. This status can only be applied and removed by Scaleway.
Enum values:
unknown_status
ready
locked
Default: unknown_status
created_at
​string | null · date-time

Date and time of the secret's creation. (RFC 3339 format)

updated_at
​string | null · date-time

Last update of the secret. (RFC 3339 format)

tags
​string[]

List of the secret's tags.

version_count
​integer · uint32

Number of versions for this secret.

description
​string | null

Updated description of the secret.

managed
​boolean

Returns true for secrets that are managed by another product.

protected
​boolean

Returns true for protected secrets that cannot be deleted.

Type of the secret. See the Secret.Type enum for a description of values.

Enum values:
unknown_type
opaque
certificate
key_value
basic_credentials
database_credentials
ssh_key
Default: unknown_type
path
​string

Path of the secret. Location of the secret in the directory structure.

Ephemeral policy of the secret. (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.

List of Scaleway resources that can access and manage the secret.

Enum values:
unknown_product
edge_services
s2s_vpn
deletion_requested_at
​string | null · date-time

Returns the time at which deletion was requested. (RFC 3339 format)

key_id
​string | null

ID of the Scaleway Key Manager key. (Optional.) The Scaleway Key Manager key ID used to encrypt and decrypt secret versions. (UUID format)

region
​string

Region of the secret.

scaleway.secret_manager.v1beta1.Secret.Status

string · enum
Enum values:
unknown_status
ready
locked
Default: unknown_status

scaleway.secret_manager.v1beta1.Secret.Type

string · enum
Enum values:
unknown_type
opaque
certificate
key_value
basic_credentials
database_credentials
ssh_key
Default: unknown_type

scaleway.secret_manager.v1beta1.SecretVersion

revision
​integer · uint32

Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1.

srn
​string · pattern: ^srn://secret-manage…

The SRN of the secret version.

secret_id
​string

ID of the secret. (UUID format)

Current status of the version.

  • unknown_status: the version is in an invalid state.
  • enabled: the version is accessible.
  • disabled: the version is not accessible but can be enabled.
  • scheduled_for_deletion: the version is scheduled for deletion. It will be deleted in 7 days.
  • deleted: the version is permanently deleted. It is not possible to recover it.
Enum values:
unknown_status
enabled
disabled
deleted
scheduled_for_deletion
Default: unknown_status
created_at
​string | null · date-time

Date and time of the version's creation. (RFC 3339 format)

updated_at
​string | null · date-time

Last update of the version. (RFC 3339 format)

deleted_at
​string | null · date-time

Date and time of the version's deletion. (RFC 3339 format)

description
​string | null

Description of the version.

latest
​boolean

Returns true if the version is the latest.

Properties of the ephemeral version. Returns the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires.

deletion_requested_at
​string | null · date-time

Returns the time at which deletion was requested. (RFC 3339 format)

region
​string

Region of the version.

scaleway.secret_manager.v1beta1.SecretVersion.Status

string · enum
Enum values:
unknown_status
enabled
disabled
deleted
scheduled_for_deletion
Default: unknown_status