envs

PagerDuty — REST and Events APIs

pagerduty/api · version 1

envs add pagerduty/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
PAGERDUTY_API_KEY required secret The REST API key. PagerDuty says to store it somewhere secure because that screen is the only time it is shown in full, and a lost one has to be deleted and recreated. Documented as twenty characters.. Shape ^.{20}$. where to get it
PAGERDUTY_ROUTING_KEY optional secret The Events API integration key for one service. PagerDuty states no sensitivity for it, and it can raise and resolve incidents in your account, so it is treated as secret. Documented as thirty-two characters. The name is convention.. Shape ^.{32}$. where to get it

The JSON the CLI reads