feat(secretmanager): add support for Managed Rotation#34754
Open
gcf-owl-bot[bot] wants to merge 2 commits into
Open
feat(secretmanager): add support for Managed Rotation#34754gcf-owl-bot[bot] wants to merge 2 commits into
gcf-owl-bot[bot] wants to merge 2 commits into
Conversation
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: googleapis/googleapis-gen@424a88e
Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLXNlY3JldF9tYW5hZ2VyLXYxLy5Pd2xCb3QueWFtbCIsImgiOiI0MjRhODhlZGNmZDY0NzU2Njc2ODRmNjQ1ZjZiNTk3OWUyYmM0NjIyIn0=
|
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
SecretTypeenum: Allows specifying the type of secret, includingCLOUD_SQL_DB_CREDENTIALS.New Fields:
policy_memberto theSecretresource, which defines the policy member for the secret.managed_rotation_statusto theRotationmessage, 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: eyJwIjoiZ29vZ2xlLWNsb3VkLXNlY3JldF9tYW5hZ2VyLXYxLy5Pd2xCb3QueWFtbCIsImgiOiI0MjRhODhlZGNmZDY0NzU2Njc2ODRmNjQ1ZjZiNTk3OWUyYmM0NjIyIn0=