Class SecretVersion (2.6.0)

SecretVersion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the SecretVersion was created.
destroy_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
state google.cloud.secretmanager_v1.types.SecretVersion.State
Output only. The current state of the SecretVersion.
replication_status google.cloud.secretmanager_v1.types.ReplicationStatus
The replication status of the SecretVersion.
etag str
Output only. Etag of the currently stored SecretVersion.

Classes

State

State(value)

The state of a SecretVersion, indicating if it can be accessed.