pulse command that communicates with PulseGuard requires an API key. Authentication is a one-time setup step: you log in once, and the CLI stores your credentials securely on your machine for all future commands. Your key is never transmitted to any third party — it is only ever sent to PulseGuard’s API.
Get an API key
1
Open the dashboard
Go to pulseguard.io/dashboard and sign in to your account.
2
Navigate to API Keys
Click Settings in the sidebar, then select the API Keys tab.
3
Create a new key
Click New Key, give it a descriptive name (for example,
local-dev or ci-pipeline), and copy the generated key. API keys are prefixed with pg_ and are shown only once.Log in
Pass your API key topulse auth login using the --key flag:
Check your authentication status
At any time, confirm which credentials the CLI is currently using:Log out
To remove your stored credentials from the machine:Where credentials are stored
The CLI usesconf, which persists settings in the OS-native user config directory:
Your API key is stored in that directory and is only readable by your OS user account. It is never sent anywhere except to PulseGuard’s API endpoint.
Connect to a self-hosted instance
If you run a self-hosted PulseGuard deployment, pass your instance’s URL with the--url flag at login time:
pulse auth status.