ImportCertificateAuthorityCertificate
Source:
src/AWS/ACMPCA/ImportCertificateAuthorityCertificate.ts
Runtime binding for acm-pca:ImportCertificateAuthorityCertificate.
Bind a CertificateAuthority inside a function runtime to install
the CA’s signed certificate — the final step of the activation flow
(fetch CSR via GetCertificateAuthorityCsr, sign it, import). This
enables workflows where the CA’s CSR is signed by an on-premises or
external parent CA at runtime. Provide
ACMPCA.ImportCertificateAuthorityCertificateHttp on the Function effect
to implement the binding.
CA Activation
Section titled “CA Activation”// initconst importCaCertificate = yield* ACMPCA.ImportCertificateAuthorityCertificate(ca);
// runtimeyield* importCaCertificate({ Certificate: new TextEncoder().encode(signedCertPem), CertificateChain: new TextEncoder().encode(chainPem),});