File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tencentcloud/services/cos Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ resource/tencentcloud_cos_bucket_domain_certificate_attachment: set sensitive for `cert` and `private_key`
3+ ```
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ import (
1919
2020func ResourceTencentCloudCosBucketDomainCertificateAttachment () * schema.Resource {
2121 return & schema.Resource {
22- Read : resourceTencentCloudCosBucketDomainCertificateAttachmentRead ,
2322 Create : resourceTencentCloudCosBucketDomainCertificateAttachmentCreate ,
23+ Read : resourceTencentCloudCosBucketDomainCertificateAttachmentRead ,
2424 // Update: resourceTencentCloudCosBucketDomainCertificateAttachmentUpdate,
2525 Delete : resourceTencentCloudCosBucketDomainCertificateAttachmentDelete ,
2626 Importer : & schema.ResourceImporter {
@@ -74,12 +74,14 @@ func ResourceTencentCloudCosBucketDomainCertificateAttachment() *schema.Resource
7474 Type : schema .TypeString ,
7575 Required : true ,
7676 ForceNew : true ,
77+ Sensitive : true ,
7778 Description : "Public key of certificate." ,
7879 },
7980 "private_key" : {
8081 Type : schema .TypeString ,
8182 Required : true ,
8283 ForceNew : true ,
84+ Sensitive : true ,
8385 Description : "Private key of certificate." ,
8486 },
8587 },
You can’t perform that action at this time.
0 commit comments