library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Put KMS Key Policy

Puts a policy on the specified KMS key.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_kms_key_policy \
--arg 'region=<string>' \
--arg 'key_id=<string>' \
--arg 'policy_name=<string>' \
--arg 'policy=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_kms_key_policy
args = {
region = <string>
key_id = <string>
policy_name = <string>
policy = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
key_id
string
YesThe ID of the KMS key.-
policy_name
string
YesThe name of the policy to attach to the KMS key.-
policy
string
YesThe policy to attach to the KMS key.-

Outputs

NameDescription
kms_key_policyInformation about the updated KMS key policy.