Up-to-date reference of API arguments for DCS certificate you can get at documentation portal
opentelekomcloud_dcs_certificate_v2¶
Use this data source to get the certificate of OpenTelekomCloud DCS instance.
~> SSL certificate download is available only for DCS 6.0 instances with enabled SSL.
Example Usage¶
variable "dcs_id" {}
data "opentelekomcloud_dcs_certificate_v2" "cert" {
instance_id = var.dcs_id
}
Argument Reference¶
instance_id- (Required) A DCS instance ID.
Attributes Reference¶
All above argument parameters can be exported as attribute parameters along with attribute reference.
file_name- SSL certificate file name.link- Download link of the SSL certificate.bucket_name- Name of the OBS bucket for storing the SSL certificate.certificate- SSL certificate of an instance.