Generate a Fleet API key from Primo
- Go to Settings > Developers > Fleet API Keys.
- Click Create API key.
- Give the key a name and configure permissions.
- Click Create.
- Copy the token immediately — it will not be shown again.
Generate a Fleet API key from Fleet dashboard
- Open your Fleet dashboard (accessible from the Primo cockpit via Settings > MDM > Open Fleet).
- Click your avatar in the top-right corner and go to My account.
- Scroll to API token.
- Click Get API token.
- Copy the token — it is tied to your Fleet user account.
Generate a Fleet API key from CLI
You can also create Fleet API keys programmatically using the Fleet CLI:Use the Fleet API key
Pass the token in theAuthorization header: