library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
key_ring
string
YesThe ID of the KMS Key Ring.-
location
string
YesThe location of the KMS Key Ring.-
key_id
string
YesThe ID of the KMS Key.-
rotation_period
string
YesThe rotation period for the KMS key.-

Outputs

NameDescription
resultResult of the KMS key update command.