library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update KMS Key

This pipeline updates the rotation settings of a KMS key.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.update_kms_key \
--arg 'project_id=<string>' \
--arg 'key_ring=<string>' \
--arg 'location=<string>' \
--arg 'key_id=<string>' \
--arg 'rotation_period=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.update_kms_key
args = {
project_id = <string>
key_ring = <string>
location = <string>
key_id = <string>
rotation_period = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe credential to use for authentication.default
project_idstringYesThe GCP project ID.-
key_ringstringYesThe ID of the KMS Key Ring.-
locationstringYesThe location of the KMS Key Ring.-
key_idstringYesThe ID of the KMS Key.-
rotation_periodstringYesThe rotation period for the KMS key.-

Outputs

NameDescription
resultResult of the KMS key update command.