Skip to content

SSL Trusted Certificate API 3.8

craig-duffin edited this page Dec 19, 2017 · 1 revision

The SSL Trusted Certificate is used to manage SSL Certificate Authority (CA) certificates and certificate revocation lists (CRLs).

Example Usage (here document)

resource "brocadevtm_ssl_cas_file" "testing" {
  name = "example-ssl-trusted-certificate"
  ssl_cas_config = <<SSL_CAS_CONFIG
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN X509 CRL-----
...
-----END X509 CRL-----
SSL_CAS_CONFIG
}

Example Usage (file)

resource "brocadevtm_ssl_cas_file" "example" {
       name = "example-ssl-trusted-certificate"
       ssl_cas_config = "${file("ssl/ca.cert")}"
}

Argument Reference

The following arguments are supported:

  • name - (Required) - The unique name of the SSL Trusted Certificate resource.
  • ssl_cas_config - (Required) - The SSL Trusted Certificate configuration.