GCLOUD_KMS_KEYS_REMOVE-IAM-POLICY-BINDING(1)

NAME

gcloud kms keys remove-iam-policy-binding - remove an IAM policy binding from a key

SYNOPSIS

gcloud kms keys remove-iam-policy-binding KEY --member=MEMBER --role=ROLE [--keyring=KEYRING] [--location=LOCATION] [GLOBAL-FLAG ...]

DESCRIPTION
Removes an IAM policy binding from the given key. See https://cloud.google.com/iam/docs/managing-policies for details of policy role and member types.

POSITIONAL ARGUMENTS

    KEY Name of the key from which to remove a policy binding.

REQUIRED FLAGS

    --member=MEMBER
        The member to remove from the binding.

    --role=ROLE
        The role to remove the member from.

OPTIONAL FLAGS

    --keyring=KEYRING
        The containing keyring.

    --location=LOCATION
        The location of the requested resource.

GLOBAL FLAGS
Run $ gcloud help for a description of flags available to all commands.

EXAMPLES
The following command will remove an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on the key frodo with the keyring fellowship and location global:
    $ gcloud kms keys remove-iam-policy-binding frodo \ --keyring fellowship --location global \ --member='user:test-user@gmail.com' \ --role='roles/editor'