terraform-google-modules/kms
Allows managing a keyring, zero or more keys in the keyring, and IAM role bindings on individual keys.
About
Allows managing a keyring, zero or more keys in the keyring, and IAM role bindings on individual keys.
Maintained by terraform-google-modules on the Terraform Registry. Latest version 4.2.1, 15.1M downloads. Requires providers: google >= 5.31.0, < 9.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Customer-managed keys with rotation turned on from day one.
- Secrets referenced by workflows, never stored in repositories.
- One key and secret layout shared by every environment.
Inputs
Required inputs:
project_id— stringkeyring— stringlocation— string
20 inputs, 5 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
google_kms_key_ringgoogle_kms_crypto_key× 2google_kms_crypto_key_iam_binding× 3
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.