Skip to content

feat(secretmanager): add support for Managed Rotation#34754

Open
gcf-owl-bot[bot] wants to merge 2 commits into
mainfrom
owl-bot-copy-google-cloud-secret_manager-v1
Open

feat(secretmanager): add support for Managed Rotation#34754
gcf-owl-bot[bot] wants to merge 2 commits into
mainfrom
owl-bot-copy-google-cloud-secret_manager-v1

Conversation

@gcf-owl-bot

@gcf-owl-bot gcf-owl-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
  • Regenerate this pull request now.

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: eyJwIjoiZ29vZ2xlLWNsb3VkLXNlY3JldF9tYW5hZ2VyLXYxLy5Pd2xCb3QueWFtbCIsImgiOiI0MjRhODhlZGNmZDY0NzU2Njc2ODRmNjQ1ZjZiNTk3OWUyYmM0NjIyIn0=

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=
@trusted-contributions-gcf trusted-contributions-gcf Bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 13, 2026
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 13, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2026
@gcf-owl-bot gcf-owl-bot Bot marked this pull request as ready for review July 13, 2026 12:00
@gcf-owl-bot gcf-owl-bot Bot requested review from a team and yoshi-approver as code owners July 13, 2026 12:00
@snippet-bot

snippet-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@trusted-contributions-gcf trusted-contributions-gcf Bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 13, 2026
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 13, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant