projects
Do a managed rotation for a Secret. This can only be triggered after Managed rotation has been enabled. This method will add a secret version and update the password in Cloud SQL.
post/v1/{+parent}:rotateSecret
Path parameters
parentstring required
Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
Request body
RotateSecretRequest required
Request message for SecretManagerService.RotateSecret.
Response
Successful response