Get/Set authentication token
Add an authenticated PagerDuty domain
USAGE
$ pd auth add
FLAGS
-a, --alias=<value> The alias to use for this token. Defaults to the name of the PD subdomain
-d, --[no-]default Use this token as the default for all PD commands
-e, --expires_at=<value> Expiration date for token. Required if using --refresh_token
-h, --help Show CLI help.
-r, --refresh_token=<value> OAuth2 refresh token
-t, --token=<value> A PagerDuty API token
--debug Print REST API call debug logs
DESCRIPTION
Add an authenticated PagerDuty domain
ALIASES
$ pd auth set
Delete a PagerDuty domain authentication
USAGE
$ pd auth delete
FLAGS
-a, --alias=<value> (required) The alias of the PD domain authentication to delete
-h, --help Show CLI help.
--debug Print REST API call debug logs
DESCRIPTION
Delete a PagerDuty domain authentication
Get the current authenticated PagerDuty domain
USAGE
$ pd auth get
FLAGS
-h, --help Show CLI help.
--debug Print REST API call debug logs
DESCRIPTION
Get the current authenticated PagerDuty domain
List authenticated PagerDuty domains
USAGE
$ pd auth list
FLAGS
-h, --help Show CLI help.
--debug Print REST API call debug logs
DESCRIPTION
List authenticated PagerDuty domains
Add an authenticated PagerDuty domain
USAGE
$ pd auth add
FLAGS
-a, --alias=<value> The alias to use for this token. Defaults to the name of the PD subdomain
-d, --[no-]default Use this token as the default for all PD commands
-e, --expires_at=<value> Expiration date for token. Required if using --refresh_token
-h, --help Show CLI help.
-r, --refresh_token=<value> OAuth2 refresh token
-t, --token=<value> A PagerDuty API token
--debug Print REST API call debug logs
DESCRIPTION
Add an authenticated PagerDuty domain
ALIASES
$ pd auth set
Choose a saved authenticated PagerDuty domain to use with all pd commands
USAGE
$ pd auth use
FLAGS
-a, --alias=<value> (required) The alias of the PD domain to use
-h, --help Show CLI help.
--debug Print REST API call debug logs
DESCRIPTION
Choose a saved authenticated PagerDuty domain to use with all pd commands
Authenticate with PagerDuty in the browser
USAGE
$ pd auth web
FLAGS
-a, --alias=<value> The alias to use for this token. Defaults to the name of the PD subdomain
-d, --[no-]default Use this token as the default for all PD commands
-h, --help Show CLI help.
--debug Print REST API call debug logs
DESCRIPTION
Authenticate with PagerDuty in the browser
ALIASES
$ pd login