Usage
module "cloud_kms" {
source = "github.com/fencepencil/gcp-modules//cloud-kms"
project_id = "<project_id>"
location = "<location>"
key_ring_name = "<key_ring_name>"
key_name = "<key_name>"
tags = var.tags
}Inputs (6)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
location | string | Key ring location | — | yes |
key_ring_name | string | Key ring name | — | yes |
key_name | string | Crypto key name | — | yes |
rotation_period | string | Rotation period | 7776000s | no |
protection_level | string | Protection level (SOFTWARE or HSM) | SOFTWARE | no |
Outputs (3)
| Name | Description |
|---|---|
key_ring_id | ID of the key ring |
crypto_key_id | ID of the crypto key |
crypto_key_name | Full name of the crypto key |