Rotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)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.
Attributes |
|
|---|---|
| Name | Description |
next_rotation_time |
google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). next_rotation_time MUST be set if rotation_period is set. |
rotation_period |
google.protobuf.duration_pb2.Duration
Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotation_period is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications. |
managed_rotation_status |
google.cloud.secretmanager_v1.types.Rotation.ManagedRotationStatus
Output only. The current status of the managed rotation. This field is only applicable to Typed Secrets. This field is set by the service and cannot be set by the user. |
Classes
ManagedRotationStatus
ManagedRotationStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents the status of a managed rotation.
This is applicable only to Typed Secrets. It indicates whether the rotation is active and any errors that may have occurred during the asynchronous managed rotation.