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
@@ -30,7 +31,7 @@ The following arguments are supported:
30
31
*`alias` - (Required) Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
31
32
*`description` - (Optional) Description of CMK. The maximum is 1024 bytes.
32
33
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`.
33
-
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `true`.
34
+
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`.
34
35
*`key_material_base64` - (Optional) The base64-encoded key material encrypted with the public_key. For regions using the national secret version, the length of the imported key material is required to be 128 bits, and for regions using the FIPS version, the length of the imported key material is required to be 256 bits.
35
36
*`pending_delete_window_in_days` - (Optional) Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
36
37
*`tags` - (Optional) Tags of CMK.
@@ -42,7 +43,7 @@ The following arguments are supported:
42
43
In addition to all arguments above, the following attributes are exported:
@@ -32,7 +33,7 @@ The following arguments are supported:
32
33
*`alias` - (Required) Name of CMK. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
33
34
*`description` - (Optional) Description of CMK. The maximum is 1024 bytes.
34
35
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`.
35
-
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `true`.
36
+
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`.
36
37
*`key_rotation_enabled` - (Optional) Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`.
37
38
*`key_usage` - (Optional, ForceNew) Usage of CMK. Available values include `ENCRYPT_DECRYPT`, `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, `ASYMMETRIC_SIGN_VERIFY_ECC`. Default value is `ENCRYPT_DECRYPT`.
38
39
*`pending_delete_window_in_days` - (Optional) Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 7 days.
@@ -43,7 +44,7 @@ The following arguments are supported:
43
44
In addition to all arguments above, the following attributes are exported:
0 commit comments