capabilities.work

Replace the IAM policy on a key

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

Get something done

Replace the IAM policy on a key

Use Google Cloud KMS: its Google Cloud Kms Projects API lets you replace the IAM policy on a key in a single step (POST /v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:setIamPolicy). capabilities.work can help you get signed up and connected.

  • Can I replace the access policy on a key with a new one?
  • What happens if I set a key's IAM policy when the key doesn't exist?
Say it to your AI assistant
  • Replace the IAM policy on crypto key {cryptoKeysId} in {locationsId}, ring {keyRingsId}, project {projectsId}.
  • Set key {cryptoKeysId}'s policy to {policy}, project {projectsId}, location {locationsId}, ring {keyRingsId}.
For your developer

POST /v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:setIamPolicy in Google Cloud Kms Projects API. Full spec on APIs.io.