Package types (2.5.0)

API documentation for secretmanager_v1.types package.

Classes

AccessSecretVersionRequest

Request message for SecretManagerService.AccessSecretVersion.

AccessSecretVersionResponse

Response message for SecretManagerService.AccessSecretVersion.

AddSecretVersionRequest

Request message for SecretManagerService.AddSecretVersion.

CreateSecretRequest

Request message for SecretManagerService.CreateSecret.

CustomerManagedEncryption

Configuration for encrypting secret payloads using customer- anaged encryption keys (CMEK).

CustomerManagedEncryptionStatus

Describes the status of customer-managed encryption. .. attribute:: kms_key_version_name

Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt the secret payload, in the following format: projects/*/locations/*/keyRings/*/cryptoKeys/*/versions/*.

:type: str

DeleteSecretRequest

Request message for SecretManagerService.DeleteSecret.

DestroySecretVersionRequest

Request message for SecretManagerService.DestroySecretVersion.

DisableSecretVersionRequest

Request message for SecretManagerService.DisableSecretVersion.

EnableSecretVersionRequest

Request message for SecretManagerService.EnableSecretVersion.

GetSecretRequest

Request message for SecretManagerService.GetSecret.

GetSecretVersionRequest

Request message for SecretManagerService.GetSecretVersion.

ListSecretVersionsRequest

Request message for SecretManagerService.ListSecretVersions.

ListSecretVersionsResponse

Response message for SecretManagerService.ListSecretVersions.

ListSecretsRequest

Request message for SecretManagerService.ListSecrets.

ListSecretsResponse

Response message for SecretManagerService.ListSecrets.

Replication

A policy that defines the replication and encryption configuration of data.

ReplicationStatus

The replication status of a SecretVersion.

Rotation

The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. Secret.topics must be set to configure rotation.

Secret

A Secret is a logical secret whose value and versions can be accessed.

A Secret is made up of zero or more SecretVersions that represent the secret data.

SecretPayload

A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion.

SecretVersion

A secret version resource in the Secret Manager API. .. attribute:: name

Output only. The resource name of the SecretVersion in the format projects/*/secrets/*/versions/*.

SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.

:type: str

Topic

A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.

UpdateSecretRequest

Request message for SecretManagerService.UpdateSecret.