pagerduty

As of Flowpipe 1.0.0, credential has been renamed to connection. The pagerduty credential resource is deprecated and will be removed in a future version of Flowpipe. Use the pagerduty connection instead.

The pagerduty credential can be used to access PagerDuty resources.

credential "pagerduty" "my_pagerduty" {
token = "u+_szhLR4FakeTokenGZSA"
}

Arguments

NameTypeRequired?Description
tokenStringOptionalAPI token

All arguments are optional, and a pagerduty credential with no arguments will behave the same as the default credential.

Default Credential

The pagerduty credential type includes an implicit, default credential (credential.pagerduty.default) that will be configured to set the token to the PAGERDUTY_TOKEN environment variable.

credential "pagerduty" "default" {
token = env("PAGERDUTY_TOKEN")
}