API Tokens
API tokens are credentials issued to API-key principals. Use them for backend integrations that need to call Infuse APIs without a signed-in user.
Create and manage API-key principals from Access > API Keys.
/admin/developer.Which Token to Use
| Need | Use |
|---|---|
| Manage IAM API-key principals and role assignments in the tenant console | Access > API Keys |
| Authenticate current Infuse IoT API calls | Legacy organisation-level admin token from /admin/developer |
| Exchange an IAM API key for a short-lived bearer token | POST /iam/auth/token, where supported by the API you are calling |
The /admin/developer page is a legacy developer key flow. It exposes the linked Infuse IoT organisation id and the Infuse IoT admin API key used by current Infuse IoT API flows.
For API-led device onboarding with this credential model, see Infuse IoT Provisioning and Connect an IoT Device.
Create an API-Key Principal
- Open Access > API Keys.
- Select Create API key.
- Enter a display name for the integration.
- Choose the principal status.
- Add an optional expiry date.
- Create the principal.
The principal belongs to the current organisation.
Principal statuses are:
Activefor credentials that can authenticate,Suspendedfor principals that should not authenticate temporarily,Revokedfor principals that should no longer be used.
Issue a Credential
- Open the API-key principal.
- Select Issue API key.
- Enter a credential name.
- Add an optional expiry date.
- Create the credential.
The generated API key is shown once. Store it immediately in a server-side secret manager.
API keys use this format:
ik_<keyId>.<keySecret>
Do not use this IAM API-key value for current Infuse IoT API calls. Use the legacy organisation-level admin token from /admin/developer until Infuse IoT supports IAM-issued credentials.
Assign Access
API-key principals need role assignments before they can call protected APIs.
- Open the API-key principal.
- In Role assignments, choose a role that supports
ApiKeyprincipals. - Save the assignment.
The role must be available to the current organisation and support API-key principals.
Revoke a Credential
Open the API-key principal and revoke the credential from the active credentials list.
Revoking a credential stops that credential from authenticating. It does not delete the API-key principal or remove other credentials issued to the same principal.
Do not expose API tokens in browser code, mobile apps, public repositories, or customer-visible examples.