{"id":20357792,"url":"https://github.com/avidhara/terraform-aws-kms","last_synced_at":"2026-05-09T11:33:32.695Z","repository":{"id":81721439,"uuid":"248153782","full_name":"avidhara/terraform-aws-kms","owner":"avidhara","description":"terraform module for kms key","archived":false,"fork":false,"pushed_at":"2020-08-19T10:47:04.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T01:41:25.930Z","etag":null,"topics":["aws","kms-module","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avidhara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-18T06:18:32.000Z","updated_at":"2023-11-09T14:34:23.000Z","dependencies_parsed_at":"2023-03-25T22:48:30.604Z","dependency_job_id":null,"html_url":"https://github.com/avidhara/terraform-aws-kms","commit_stats":null,"previous_names":["ionicloud/terraform-aws-kms","cloudpragna/terraform-aws-kms","avidhara/terraform-aws-kms"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avidhara%2Fterraform-aws-kms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avidhara%2Fterraform-aws-kms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avidhara%2Fterraform-aws-kms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avidhara%2Fterraform-aws-kms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avidhara","download_url":"https://codeload.github.com/avidhara/terraform-aws-kms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895070,"owners_count":20038508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","kms-module","terraform","terraform-modules"],"created_at":"2024-11-14T23:23:52.413Z","updated_at":"2026-05-09T11:33:32.651Z","avatar_url":"https://github.com/avidhara.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Static security analysis for Terraform](https://github.com/foss-cafe/terraform-aws-kms/workflows/Static%20security%20analysis%20for%20Terraform/badge.svg)\n# Terraform module for aws KMS\n\n## Using as module\n```hcl\nmodule \"kms\" {\n  source  = \"app.terraform.io/foss-cafe/kms/aws\"\n  version = \"1.0.1\"\n  name    = \"test-key\"\n  description = \"CMK for cloudwath logs\"\n  policy = data.aws_iam_policy_document.kms_access.json\n  deletion_window_in_days = 7\n  tags = var.tags\n}\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | ~\u003e 0.12.24 |\n| aws | ~\u003e 2.60 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | ~\u003e 2.60 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| customer\\_master\\_key\\_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC\\_DEFAULT, RSA\\_2048, RSA\\_3072, RSA\\_4096, ECC\\_NIST\\_P256, ECC\\_NIST\\_P384, ECC\\_NIST\\_P521, or ECC\\_SECG\\_P256K1. Defaults to SYMMETRIC\\_DEFAULT | `string` | `\"SYMMETRIC_DEFAULT\"` | no |\n| deletion\\_window\\_in\\_days | Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days. | `number` | `30` | no |\n| description | The description of the key as viewed in AWS console. | `string` | `\"\"` | no |\n| enable\\_key\\_rotation | Specifies whether key rotation is enabled. Defaults to true | `bool` | `true` | no |\n| enabled | Do you want to create KMS key | `bool` | `true` | no |\n| is\\_enabled | Specifies whether the key is enabled. Defaults to true. | `bool` | `true` | no |\n| key\\_usage | Specifies the intended use of the key. Valid values: ENCRYPT\\_DECRYPT or SIGN\\_VERIFY. Defaults to ENCRYPT\\_DECRYPT. | `string` | `\"ENCRYPT_DECRYPT\"` | no |\n| name | Name of the alias | `string` | `\"\"` | no |\n| policy | A valid KMS policy JSON document. Note that if the policy document is not specific enough (but still valid), Terraform may view the policy as constantly changing in a terraform plan. In this case, please make sure you use the verbose/specific version of the policy. | `string` | `\"\"` | no |\n| tags | A mapping of tags to assign to the object. | `map(strings)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| arn | The Amazon Resource Name(ARN) of the key alias. |\n| key\\_id | The globally unique identifier for the key. |\n| target\\_key\\_arn | ARN pointed to by the alias. |\n| target\\_key\\_id | Key identifier pointed to by the alias. |\n\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favidhara%2Fterraform-aws-kms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favidhara%2Fterraform-aws-kms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favidhara%2Fterraform-aws-kms/lists"}