Platform compatibility
Data flow: one-way, read by BastionBastion reads your device data through the Primo API with a read-only key. Primo pushes nothing to Bastion, and no Bastion data appears in the cockpit.
Prerequisites
- A Primo MDM plan with device management configured.
- Access to Settings > Developers in the cockpit, to create the key.
- Administrator access to your Bastion account.
Create a read-only Primo API key
1
Open the Developers settings
Go to Settings > Developers and click Create key.
2
Configure the key
- Key name — for example
Bastion. - Access level — Read-only. Bastion only reads data, so it never needs write access.
- Expiration (days) — leave empty for a key that never expires, or set a number of days and plan to rotate the key in Bastion before then.
3
Copy the secret
Click Create key, then Copy secret. The secret is shown only once.
Connect the key in Bastion
In your Bastion account, open the Primo integration, choose the Primo API key mode, and paste the secret. Complete the connection there. Bastion then collects your device data on its own schedule. To check that Bastion is reading data, open Recent Primo API logs in Settings > Developers: its requests appear with the last characters of the key.Disconnect Bastion
Go to Settings > Developers, find the key in Primo API keys, and click Revoke. Bastion loses access immediately, and the key cannot be restored. To reconnect, create a new key and paste it in Bastion.Troubleshooting
Bastion stopped receiving device data- In Primo API keys, check the key’s Status and Expires columns. A revoked or expired key stops working at once.
- Create a new key and update it in Bastion.
- Check its platform. Bastion covers macOS, Windows, and Linux devices.
- Check that the device is enrolled and reports to the cockpit. Bastion only sees devices Primo knows about.