» aci_x509_certificate

Manages ACI X509 Certificate

» Example Usage

resource "aci_x509_certificate" "example" {

  local_user_dn  = "${aci_local_user.example.id}"

  name  = "example"
  annotation  = "example"
  data  = "example"
  name_alias  = "example"

» Argument Reference

  • local_user_dn - (Required) Distinguished name of parent LocalUser object.
  • name - (Required) name of Object x509_certificate.
  • annotation - (Optional) annotation for object x509_certificate.
  • data - (Optional) data from the user certificate
  • name_alias - (Optional) name_alias for object x509_certificate.

» Attribute Reference

The only attribute that this resource exports is the id, which is set to the Dn of the X509 Certificate.

» Importing

An existing X509 Certificate can be imported into this resource via its Dn, via the following command:

terraform import aci_x509_certificate.example <Dn>