Pup CLI
- Command
-
pup - Docs
- https://docs.datadoghq.com/cli/
$ pup auth login Acquired by the CLI — running pup auth login opens the auth flow and stores the credential.
env DD_ACCESS_TOKEN Use Pup's documented bearer-token mode by supplying a DD_ACCESS_TOKEN bearer token for stateless or headless authentication, as described in the Pup README authentication docs. The Datadog CLI docs name this variable explicitly as an alternative to interactive OAuth login.
env DD_API_KEY + Datadog application key env DD_APP_KEY discovered In Datadog, go to Organization Settings > API Keys, click New Key, enter a name, and create the key. Datadog documents that API keys are organization-wide and are required by the Agent to submit metrics and events; many API calls also use them together with an application key.
In Datadog, open Organization Settings > Application Keys and create an application key. Datadog states application keys are used together with your organization's API key to access Datadog's programmatic API. Scope the key to the minimum permissions needed; some APIs such as Actions APIs also require enabling Actions API access on the application key.