You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| alias | The display name of the alias. The name must start with the word `alias` followed by a forward slash. |`string`|`""`| no |
209
+
| aliases\_use\_name\_prefix | Determines whether the alias name is used as a prefix |`bool`|`false`| no |
182
210
| attributes | Additional attributes (e.g. `1`). |`list(string)`|`[]`| no |
211
+
| bypass\_policy\_lockout\_safety\_check | A flag to indicate whether to bypass the key policy lockout safety check. Setting this value to true increases the risk that the KMS key becomes unmanageable |`bool`|`null`| no |
212
+
| computed\_aliases | A map of aliases to create. Values provided via the `name` key of the map can be computed from upstream resources |`any`|`{}`| no |
213
+
| create\_external\_enabled | Determines whether an external CMK (externally provided material) will be created or a standard CMK (AWS provided material) |`bool`|`false`| no |
183
214
| 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 |
184
215
| deletion\_window\_in\_days | Duration in days after which the key is deleted after destruction of the resource. |`number`|`10`| no |
185
216
| description | The description of the key as viewed in AWS console. |`string`|`"Parameter Store KMS master key"`| no |
186
217
| enable\_key\_rotation | Specifies whether key rotation is enabled. |`string`|`true`| no |
187
218
| enabled | Specifies whether the kms is enabled or disabled. |`bool`|`true`| no |
| is\_enabled | Specifies whether the key is enabled. |`bool`|`true`| no |
221
+
| key\_material\_base64 | Base64 encoded 256-bit symmetric encryption key material to import. The CMK is permanently associated with this key material. External key only |`string`|`null`| no |
190
222
| key\_usage | Specifies the intended use of the key. Defaults to ENCRYPT\_DECRYPT, and only symmetric encryption and decryption are supported. |`string`|`"ENCRYPT_DECRYPT"`| no |
223
+
| kms\_key\_enabled | Specifies whether the kms is enabled or disabled. |`bool`|`true`| no |
191
224
| label\_order | label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
192
225
| managedby | ManagedBy, eg 'CloudDrove'. |`string`|`"[email protected]"`| no |
193
226
| multi\_region | Indicates whether the KMS key is a multi-Region (true) or regional (false) key. |`bool`|`true`| no |
194
227
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
195
-
| policy | A valid policy JSON document. For more information about building AWS IAM policy documents with Terraform. |`string`|`""`| no |
228
+
| policy | A valid policy JSON document. Although this is a key policy, not an IAM policy, an `aws_iam_policy_document`, in the form that designates a principal, can be used |`string`|`null`| no |
229
+
| primary\_external\_key\_arn | The primary external key arn of a multi-region replica external key |`string`|`null`| no |
230
+
| primary\_key\_arn | The primary key arn of a multi-region replica key |`string`|`""`| no |
196
231
| repository | Terraform current module repo |`string`|`"https://github.com/clouddrove/terraform-aws-kms"`| no |
197
232
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map(string)`|`{}`| no |
233
+
| valid\_to | Time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. If not specified, key material does not expire |`string`|`""`| no |
0 commit comments