Skip to main content
A PagerDuty channel on a certificate alert creates PagerDuty incidents through the Events API v2, so your on-call team gets paged when certificates are about to expire or are revoked.

Step 1: Get a PagerDuty integration key

1
In PagerDuty, go to Services > Service Directory and select New Service.
2
Name the service, for example Infisical PKI Alerts, choose Events API v2 as the integration, and select Create Service.
To use an existing service, open the service and go to Integrations > Add an Integration > Events API v2.
3
Copy the 32-character Integration Key from the service’s Integrations tab.
Anyone with the integration key can send events to your PagerDuty service, so store it like a secret.

Step 2: Add the PagerDuty channel to an alert

1
Create an alert in your application, or edit an existing one.
2
Select Add Channel > PagerDuty and paste the integration key.
3
Optionally, select Send test to send a test notification to the channel.
4
Select Continue, check the Review step, and select Create Alert.

Severity mapping

Each incident’s PagerDuty severity comes from the alert’s event. For expiration alerts, it comes from how close the certificate is to expiry.

Expiration alerts

Other alert events

Incident grouping

Each certificate gets its own incident. If the same alert fires again for the same certificate, PagerDuty updates the existing incident instead of opening a new one. Each PagerDuty channel opens at most 10 incidents per run. If more than 10 certificates are due for an expiration alert, the ones closest to expiry go first and the rest go on the next daily run.

What’s next?

Webhook

Send alerts to your own endpoint.

Slack

Send alerts to a Slack channel.

Certificate syncs

Push certificates to cloud destinations.

Certificates

View and manage certificates.