capabilities.work

Set the access policy on a global secret

One step with Google Cloud Secret Manager. We can help you get access.

Get something done

Set the access policy on a global secret

Use Google Cloud Secret Manager: its Google Cloud Secret Manager Projects API lets you set the access policy on a global secret in a single step (POST /v1/projects/{projectsId}/secrets/{secretsId}:setIamPolicy). capabilities.work can help you get signed up and connected.

  • How do I grant a service account access to a project-wide secret?
  • Does a new policy on a global secret overwrite the old one?
Say it to your AI assistant
  • Set the IAM policy on global secret {secret} in project {project}.
  • Replace the access policy of project-level secret {secret} in {project} with {policy}.
For your developer

POST /v1/projects/{projectsId}/secrets/{secretsId}:setIamPolicy in Google Cloud Secret Manager Projects API. Full spec on APIs.io.