Skip to content

Reference

PagerDuty (API Key)

Connect PagerDuty to Alter Vault using an API key for secure API access

Use PagerDuty credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDpagerduty
CategoryMonitoring & Observability
Credential TypeAPI Key

Log in to PagerDuty

Log in to PagerDuty at app.pagerduty.com.

Go to Integrations → Developer Tools → API Access Keys

Follow the PagerDuty API access-key guide, then go to Integrations → Developer Tools → API Access Keys (the direct URL is https://<your-subdomain>.pagerduty.com/api_access_keys).

Create a new API Key

Click ‘Create New API Key’.

Copy your API key

Copy the generated API key.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add PagerDuty

Go to Managed Secrets > Add Provider > PagerDuty.

Enter credentials

Paste your API Key into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://api.pagerduty.com/incidents",
grant_id="YOUR_GRANT_ID",
extra_headers={"Accept": "application/vnd.pagerduty+json;version=2"},
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
createIncidentNotificationSubscriberssendPOST/incidents/{id}/status_updates/subscribers
createTeamNotificationSubscriptionsadmin, sendPOST/teams/{id}/notification_subscriptions
createUserHandoffNotificationRuleadmin, sendPOST/users/{id}/oncall_handoff_notification_rules
createUserNotificationRuleadmin, sendPOST/users/{id}/notification_rules
createUserNotificationSubscriptionsadmin, sendPOST/users/{id}/notification_subscriptions
createUserStatusUpdateNotificationRuleadmin, sendPOST/users/{id}/status_update_notification_rules
removeIncidentNotificationSubscribersdelete, sendPOST/incidents/{id}/status_updates/unsubscribe
unsubscribeUserNotificationSubscriptionsadmin, delete, sendPOST/users/{id}/notification_subscriptions/unsubscribe
updateUserHandoffNotificationadmin, sendPUT/users/{id}/oncall_handoff_notification_rules/{oncall_handoff_notification_rule_id}
updateUserNotificationRuleadmin, sendPUT/users/{id}/notification_rules/{notification_rule_id}
updateUserStatusUpdateNotificationRuleadmin, sendPUT/users/{id}/status_update_notification_rules/{status_update_notification_rule_id}
deleteAcceptedRecommendedRuledeleteDELETE/recommendations/event_orchestrations/services/{service_id}/accepted_rules/{rule_id}
deleteAddondeleteDELETE/addons/{id}
deleteAlertGroupingSettingadmin, deleteDELETE/alert_grouping_settings/{id}
deleteAutomationActiondeleteDELETE/automation_actions/actions/{id}
deleteAutomationActionServiceAssociationdeleteDELETE/automation_actions/actions/{id}/services/{service_id}
deleteAutomationActionTeamAssociationadmin, deleteDELETE/automation_actions/actions/{id}/teams/{team_id}
deleteAutomationActionsRunnerdeleteDELETE/automation_actions/runners/{id}
deleteAutomationActionsRunnerTeamAssociationadmin, deleteDELETE/automation_actions/runners/{id}/teams/{team_id}
deleteBusinessServicedeleteDELETE/business_services/{id}
deleteCacheVarOnGlobalOrchdeleteDELETE/event_orchestrations/{id}/cache_variables/{cache_variable_id}
createAutomationActionTeamAssociationadmin, writePOST/automation_actions/actions/{id}/teams
createAutomationActionsRunnerTeamAssociationadmin, writePOST/automation_actions/runners/{id}/teams
createEscalationPolicyadmin, writePOST/escalation_policies
createUserContactMethodadmin, writePOST/users/{id}/contact_methods
updateUserContactMethodadmin, writePUT/users/{id}/contact_methods/{contact_method_id}
createAutomationActionInvocationwritePOST/automation_actions/actions/{id}/invocations
createAutomationActionServiceAssocationwritePOST/automation_actions/actions/{id}/services
createBusinessServiceAccountSubscriptionwritePOST/business_services/{id}/account_subscription
createBusinessServiceNotificationSubscriberswritePOST/business_services/{id}/subscribers
createCacheVarOnGlobalOrchwritePOST/event_orchestrations/{id}/cache_variables
createCacheVarOnServiceOrchwritePOST/event_orchestrations/services/{service_id}/cache_variables
createCustomFieldsFieldOptionwritePOST/incidents/custom_fields/{field_id}/field_options
createCustomShiftswritePOST/v3/schedules/{id}/custom_shifts
getUserContactMethodreadGET/users/{id}/contact_methods/{contact_method_id}
getUserContactMethodsreadGET/users/{id}/contact_methods
listEscalationPolicyAuditRecordsreadGET/escalation_policies/{id}/audit/records
listIpAllowListAuditRecordsreadGET/ip_allow_lists/{id}/audit/records
listSchedulesAuditRecordsreadGET/schedules/{id}/audit/records
listSchedulesAuditRecordsV3readGET/v3/schedules/{id}/audit/records

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.