Apono Service Account
Learn how to create and manage service account API tokens
Service account API tokens enable secure, account-level access to the Admin API for automations, scripts, and CI/CD integrations. Unlike personal tokens, service account tokens are not tied to an individual user and are designed for long-lived access.
Service account tokens have the following characteristics:
Account-Level Access: Not associated with a specific user; permissions are defined by assigned roles
Role-Based Permissions: Scoped using global role-based access control roles (Admin, Power User, Deployment, Viewer)
Editable Metadata: Description and scoped roles can be updated after creation
Prerequisites
Apono UI Credentials
Username and password to access the Apono UI
Admin Role
Apono role with full access to all features and functionalities
Create a service account API token

Follow these steps to create a service account API token:
On the API Tokens Service Accounts tab, click New Service Account or Create Service Account. The Add Service Account page opens.
Under Create API Token, enter a token Name. The name will identify the token on the Service Accounts tab.
The name can only contain lowercase letters, numbers, and underscores.
(Optional) Add a Description explaining how this token will be used.
Choose the Expiration of the token.
Unlimited
Non-expiring token
Limited
Time-bound token
Follow these steps:
Choose Limited. The default 30 days option and expiration date will appear in a blue box.
(Optional) Click the expiration to select a different duration.
From the Role dropdown menu, select one or more global RBAC roles.
Click Generate New Token. The token appears.
Under Token, copy the token.
Be sure to copy and securely store this token in a password manager. This is the only time it will be displayed.
Click Done. The new token will appear on the Service Accounts tab.
After creating a service account API token, you can authenticate your queries to the Apono API. We strongly advise against hardcoding tokens in your code. Use environment variables or secret management.
Edit a service account API token

Follow these steps to edit a service account API token:
On the API Tokens Service Accounts tab, in the row of the API token, click ︙> Edit. The Edit Service Account page appears.
Edit the token fields (steps 3, 5).
You can only the token's Description and Role.
Click Save Changes. The API token is updated and the Service Accounts tab appears.
Delete a service account API token
Deleting an API token is an important security practice when the token is no longer needed.
Before deleting an API token, remove the token from any project, code base, or third-party platform to prevent service disruptions.

Follow these steps to delete a service account API token:
On the API Tokens Service Accounts tab, in the row of the API token, click ︙> Delete. A delete confirmation pop-up window appears.
Click Yes. The API token is deleted and the Service Accounts tab appears.
Last updated
Was this helpful?
