Skip to content

Resource: pingfederate_certificates_ca

Provides a certificate ca.

Example Usage

resource "pingfederate_certificates_ca" "demo" {
  certificate_id = "example"
  file_data = base64encode(file("test_cases/amazon_root_ca1.pem"))
}

Argument Attributes

The following arguments are supported:

  • certificate_id - The persistent, unique ID for the certificate. It can be any combination of [a-z0-9._-]. This property is system-assigned if not specified.

  • file_data - (Required) The certificate data in PEM format. New line characters should be omitted or encoded in this value.

  • crypto_provider - ['LOCAL' or 'HSM']: Cryptographic Provider. This is only applicable if Hybrid HSM mode is true.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

Import

Certificate CA can be imported using the id, e.g.

terraform import pingfederate_certificates_ca.demo 123