secretmanager/v1 library

Secret Manager API - v1

Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.

For more information, see cloud.google.com/secret-manager/

Create an instance of SecretManagerApi to access these resources:

Classes

AccessSecretVersionResponse
Response message for SecretManagerService.AccessSecretVersion.
AddSecretVersionRequest
Request message for SecretManagerService.AddSecretVersion.
AuditConfig
Specifies the audit configuration for a service.
Automatic
A replication policy that replicates the Secret payload without any restrictions.
AutomaticStatus
The replication status of a SecretVersion using automatic replication.
Binding
Associates members, or principals, with a role.
CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
CustomerManagedEncryptionStatus
Describes the status of customer-managed encryption.
ListLocationsResponse
The response message for Locations.ListLocations.
ListOperationsResponse
The response message for Operations.ListOperations.
ListSecretsResponse
Response message for SecretManagerService.ListSecrets.
ListSecretVersionsResponse
Response message for SecretManagerService.ListSecretVersions.
Operation
This resource represents a long-running operation that is the result of a network API call.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsLocationsSecretsResource
ProjectsLocationsSecretsVersionsResource
ProjectsResource
ProjectsSecretsResource
ProjectsSecretsVersionsResource
Replica
Represents a Replica for this Secret.
ReplicaStatus
Describes the status of a user-managed replica for the SecretVersion.
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.
Secret
A Secret is a logical secret whose value and versions can be accessed.
SecretManagerApi
Stores sensitive data such as API keys, passwords, and certificates.
SecretPayload
A secret payload resource in the Secret Manager API.
SecretVersion
A secret version resource in the Secret Manager API.
SetIamPolicyRequest
Request message for SetIamPolicy method.
Topic
A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.
UserManaged
A replication policy that replicates the Secret payload into the locations specified in Replication.UserManaged.replicas
UserManagedStatus
The replication status of a SecretVersion using user-managed replication.

Typedefs

AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions.
DestroySecretVersionRequest = $SecretVersionRequest
Request message for SecretManagerService.DestroySecretVersion.
DisableSecretVersionRequest = $SecretVersionRequest
Request message for SecretManagerService.DisableSecretVersion.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
EnableSecretVersionRequest = $SecretVersionRequest
Request message for SecretManagerService.EnableSecretVersion.
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.
Location = $Location00
A resource that represents a Google Cloud location.
Status = $Status00
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
TestIamPermissionsRequest = $TestIamPermissionsRequest00
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.