library
turbot/gcp
Get Involved
Version
Pipeline: Remove IAM Policy Binding from KMS Key
This pipeline removes an IAM policy binding from a Google Cloud KMS key.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.remove_iam_policy_binding_from_kms_key \ --arg 'project_id=<string>' \ --arg 'key_name=<string>' \ --arg 'key_ring_name=<string>' \ --arg 'location=<string>' \ --arg 'member=<string>' \ --arg 'role=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.remove_iam_policy_binding_from_kms_key args = { project_id = <string> key_name = <string> key_ring_name = <string> location = <string> member = <string> role = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
key_name | string | Yes | The name of the KMS key. | - |
key_ring_name | string | Yes | The name of the KMS key ring. | - |
location | string | Yes | The location of the KMS key. | - |
member | string | Yes | The member to remove from the IAM policy binding. | - |
role | string | Yes | The IAM role to remove. | - |
Outputs
Name | Description |
---|---|
kms_key_iam_policy_info | Information about the KMS key IAM policy binding removal. |