Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.36 KB

confluent_certificate_authority.md

File metadata and controls

51 lines (37 loc) · 2.36 KB
page_title subcategory description
confluent_certificate_autority Data Source - terraform-provider-confluent

confluent_certificate_authority Data Source

General Availability

confluent_certificate_authority describes a Certificate Authority data source.

Example Usage

provider "confluent" {
  cloud_api_key    = var.confluent_cloud_api_key    # optionally use CONFLUENT_CLOUD_API_KEY env var
  cloud_api_secret = var.confluent_cloud_api_secret # optionally use CONFLUENT_CLOUD_API_SECRET env var
}

data "confluent_certificate_authority" "main" {
  id = "op-abc123"
}

output "certificate_authority" {
  value = data.confluent_certificate_authority.main
}

Argument Reference

The following arguments are supported:

  • id - (Required String) The ID of the Certificate Authority, for example, op-abc123.

Attributes Reference

In addition to the preceding arguments, the following attributes are exported:

  • display_name - (Required String) A human-readable name for the Certificate Authority.
  • description - (Required String) A description for the Certificate Authority.
  • certificate_chain_filename - (Required String) The name of the certificate file, for example, certificate.pem.
  • fingerprints (Required List of Strings) The fingerprints for each certificate in the certificate chain, for example, ["B1BC968BD4f49D622AA89A81F2150152A41D829C"].
  • expiration_dates (Required List of Strings) The expiration dates of certificates in the chain, for example, ["2017-07-21T17:32:28Z"].
  • serial_numbers (Required List of Strings) The serial numbers for each certificate in the certificate chain.
  • crl_source - (Optional String) The source specifies whether the Certificate Revocation List (CRL) is updated from either local file uploaded (LOCAL) or from url of CRL (URL). Accepted values are LOCAL and URL.
  • crl_url - (Optional String) The url from which to fetch the CRL for the certificate authority if crl_source is URL.
  • crl_updated_at - (Optional String) The timestamp for when CRL was last updated, for example, 2017-07-21T17:32:28Z.