pagerduty
How to get these credentialsA PagerDuty REST API key or OAuth access token, plus the account's region
CREATE SECRET pagerduty (
TYPE pagerduty,
api_token '<API_TOKEN>', -- secret
oauth_token '<OAUTH_TOKEN>', -- secret
region '<region>',
base_url '<base_url>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| api_token secret | VARCHAR | — | REST API key (Integrations > API Access Keys), sent as 'Token token=<key>'. Use this or OAUTH_TOKEN. |
| oauth_token secret | VARCHAR | — | OAuth 2.0 access token (sent as 'Bearer <token>') instead of a key. |
| region | VARCHAR | — | 'us' (default, api.pagerduty.com) or 'eu' (api.eu.pagerduty.com). |
| base_url | VARCHAR | — | Overrides the region's API URL (https only; http:// is accepted for 127.0.0.1/localhost). |
The worker doesn't mark which keys are required.