library
turbot/gcp
Get Involved
Version
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
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_ring | string | Yes | The ID of the KMS Key Ring. | - |
location | string | Yes | The location of the KMS Key Ring. | - |
key_id | string | Yes | The ID of the KMS Key. | - |
rotation_period | string | Yes | The rotation period for the KMS key. | - |
Outputs
Name | Description |
---|---|
result | Result of the KMS key update command. |