Skip to content

GetManagedThingCertificate

Source: src/AWS/IoTManagedIntegrations/GetManagedThingCertificate.ts

Runtime binding for the GetManagedThingCertificate operation (IAM action iotmanagedintegrations:GetManagedThingCertificate), scoped to one ManagedThing.

Reads the (public) certificate PEM the bound device authenticates with — useful for fleet audit and certificate-rotation tooling. Provide the implementation with Effect.provide(AWS.IoTManagedIntegrations.GetManagedThingCertificateHttp).

const getCertificate =
yield* IoTManagedIntegrations.GetManagedThingCertificate(thing);
const { CertificatePem } = yield* getCertificate();