Access
Create an API Key
Create a personal or service-account credential for Infuse API access.
Choose the key owner before you begin:
- Use a personal API key for your own CLI, development tool, or script when requests should follow your current access.
- Use a service-account API key for a shared integration, production service, CI/CD job, or unattended workload.
Create a Personal API Key
- Switch to the organisation the key should access.
- Open the user menu and select API keys.
- Enter a key name and optional expiry.
- Select Create key.
- Copy the displayed value immediately to a server-side secret manager. It is shown only once.
The key follows your current membership level, roles, groups, direct grants, status, and organisation membership. It does not have separate permissions.
Create and Authorise a Service Account
- Open Access > Service accounts.
- Select Create service account.
- Enter a display name and canonical name that identify the workload and environment.
- Add an optional purpose and account expiry, then select Create.
- Open the account's Access tab.
- Assign the narrowest compatible role or add it to a suitable group.
- Review Effective permissions to confirm the account has only the intended access.
- Open API keys.
- Enter a key name and optional expiry, then select Issue key.
- Copy the displayed value immediately to a server-side secret manager. It is shown only once.
The service account starts with no access and no credentials. Every key later issued for it authenticates as the same account and receives its current access.
Use and Rotate the Key
Use token exchange for normal API calls so the long-lived API key remains in secret storage:
POST /iam/auth/token
Content-Type: application/json
Send the returned short-lived token as Authorization: Bearer <accessToken>.
Rotate a key by issuing a replacement for the same owner, deploying the replacement, confirming it works, and then revoking the old key.
IAM API keys are separate from legacy Infuse IoT admin keys. If an Infuse IoT integration still requires the legacy flow, manage that credential from Infuse IoT > API Access.
See API Keys for credential guidance.