GetCertificateAuthorityCertificate
Source:
src/AWS/ACMPCA/GetCertificateAuthorityCertificate.ts
Runtime binding for acm-pca:GetCertificateAuthorityCertificate.
Bind a CertificateAuthority inside a function runtime to retrieve
the CA’s own certificate and chain (PEM) — e.g. to build a trust store
for mutual-TLS verification of certificates the CA issued. Provide
ACMPCA.GetCertificateAuthorityCertificateHttp on the Function effect to
implement the binding.
Reading the CA Certificate
Section titled “Reading the CA Certificate”// initconst getCaCertificate = yield* ACMPCA.GetCertificateAuthorityCertificate(ca);
// runtimeconst { Certificate, CertificateChain } = yield* getCaCertificate();