Commit 6c477b8
feat(secretmanager): [SecretManager] add support for Managed Rotation (googleapis#9339)
* feat(secretmanager): add support for Managed Rotation
This change introduces new RPCs and types to support the Managed Rotation feature for secrets:
- New RPCs:
- `EnableManagedRotation`: Enables managed rotation on a secret.
- `RotateSecret`: Triggers an immediate rotation for a secret with managed rotation enabled.
- New Types:
- `SecretType` enum: Allows specifying the type of secret, including `CLOUD_SQL_DB_CREDENTIALS`.
- New Fields:
- Added `policy_member` to the `Secret` resource, which defines the policy member for the secret.
- Added `managed_rotation_status` to the `Rotation` message, to surface the current state and any errors for managed rotation.
PiperOrigin-RevId: 946895132
Source-Link: googleapis/googleapis@fc645e5
Source-Link: https://github.com/googleapis/googleapis-gen/commit/424a88edcfd6475667684f645f6b5979e2bc4622
Copy-Tag: eyJwIjoiU2VjcmV0TWFuYWdlci8uT3dsQm90LnlhbWwiLCJoIjoiNDI0YTg4ZWRjZmQ2NDc1NjY3Njg0ZjY0NWY2YjU5NzllMmJjNDYyMiJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* chore(Gax): update common protos minimum version
* chore(SecretManager): update GAX to next version
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Shaffer <betterbrent@google.com>1 parent bbbee24 commit 6c477b8
18 files changed
Lines changed: 1239 additions & 2 deletions
File tree
- SecretManager
- metadata/V1
- samples/V1/SecretManagerServiceClient
- src/V1
- Client
- EnableManagedRotationRequest
- Rotation
- ManagedRotationStatus
- Secret
- resources
- tests/Unit/V1/Client
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments