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
Description: "The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`.",
44
+
Description: "The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.",
45
45
},
46
46
"key_material_base64": {
47
47
Type: schema.TypeString,
@@ -274,21 +274,37 @@ func resourceTencentCloudKmsExternalKeyUpdate(d *schema.ResourceData, meta inter
Description: "Specify whether to enable key. Default value is `false`.",
56
+
Description: "Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state is `Enabled`, `Disabled`, `Archived`.",
57
57
},
58
58
"is_archived": {
59
59
Type: schema.TypeBool,
60
60
Optional: true,
61
61
ConflictsWith: []string{"is_enabled"},
62
-
Description: "Specify whether to archive key. Default value is `false`.",
62
+
Description: "Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state is `Enabled`, `Disabled`, `Archived`.",
63
63
},
64
64
"pending_delete_window_in_days": {
65
65
Type: schema.TypeInt,
@@ -164,17 +164,19 @@ func resourceTencentCloudKmsKeyCreate(d *schema.ResourceData, meta interface{})
Copy file name to clipboardExpand all lines: website/docs/r/kms_external_key.html.markdown
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ The following arguments are supported:
30
30
31
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.
32
32
*`description` - (Optional) Description of CMK. The maximum is 1024 bytes.
33
-
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`.
34
-
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`.
33
+
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
34
+
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
35
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.
36
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.
37
37
*`tags` - (Optional) Tags of CMK.
38
38
*`valid_to` - (Optional) This value means the effective timestamp of the key material, 0 means it does not expire. Need to be greater than the current timestamp, the maximum support is 2147443200.
39
-
*`wrapping_algorithm` - (Optional) The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`.
39
+
*`wrapping_algorithm` - (Optional) The algorithm for encrypting key material. Available values include `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1` and `RSAES_OAEP_SHA_256`. Default value is `RSAES_PKCS1_V1_5`.
Copy file name to clipboardExpand all lines: website/docs/r/kms_key.html.markdown
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ The following arguments are supported:
32
32
33
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.
34
34
*`description` - (Optional) Description of CMK. The maximum is 1024 bytes.
35
-
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`.
36
-
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`.
35
+
*`is_archived` - (Optional) Specify whether to archive key. Default value is `false`. This field is conflict with `is_enabled`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
36
+
*`is_enabled` - (Optional) Specify whether to enable key. Default value is `false`. This field is conflict with `is_archived`, valid when key_state is `Enabled`, `Disabled`, `Archived`.
37
37
*`key_rotation_enabled` - (Optional) Specify whether to enable key rotation, valid when key_usage is `ENCRYPT_DECRYPT`. Default value is `false`.
38
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`.
39
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.
0 commit comments