page_title | subcategory | description |
---|---|---|
sigsci_corp_cloudwaf_certificate Resource - terraform-provider-sigsci |
resource "sigsci_corp_cloudwaf_certificate" "test_corp_cloudwaf_certificate" {
name = "Test Cloud WAF Certificate"
certificate_body = <<CERT
-----BEGIN CERTIFICATE-----
[encoded certificate]
-----END CERTIFICATE-----
CERT
certificate_chain = <<CHAIN
-----BEGIN CERTIFICATE-----
[encoded certificate chain]
-----END CERTIFICATE-----
CHAIN
private_key = <<PRIVATEKEY
-----BEGIN PRIVATE KEY-----
[encoded privatekey]]
----END PRIVATE KEY-----
PRIVATEKEY
}
certificate_body
(String) Body of the certificate in PEM formatname
(String) Friendly name to identify a CloudWAF certificateprivate_key
(String, Sensitive) Private key of the certificate in PEM format - must be unencrypted
certificate_chain
(String) Certificate chain in PEM format
common_name
(String) Common name of the uploaded certificateexpires_at
(String) TimeStamp for when certificate expires in RFC3339 date time formatfingerprint
(String) SHA1 fingerprint of the certififcateid
(String) The ID of this resource.status
(String) Current status of the certificate - could be one of "unknown", "active", "pendingverification", "expired", "error"subject_alternative_names
(Set of String) Subject alternative names from the uploaded certificate
Import is supported using the following syntax:
terraform import sigsci_corp_cloudwaf_certificate.test id