Get information on a Certificate issued by a AWS Certificate Manager Private Certificate Authority.
data "aws_acmpca_certificate" "example" {
arn = "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23"
certificate_authority_arn = "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012"
}
This data source supports the following arguments:
arn
- (Required) ARN of the certificate issued by the private certificate authority.certificate_authority_arn
- (Required) ARN of the certificate authority.This data source exports the following attributes in addition to the arguments above:
certificate
- PEM-encoded certificate value.certificate_chain
- PEM-encoded certificate chain that includes any intermediate certificates and chains up to root CA.