Service accounts
Service accounts are a way for organizations to provide manageable, controllable, and granular access to Air Governance for automations and services, such as access to the Analytics API.
From an organizational perspective, service accounts let applications, service integrations, and automations use account credentials that are not tied to a person but are specifically created for the application or service. This prevents scenarios where automations or CI scripts lose access due to a user account being deleted or disabled, and their access credentials revoked.
Service accounts are created and managed by Air Governance users with appropriate permissions.
Service account usage costs
Service account usage consumes AI credits from the same organization-level credit pool as regular users. The consumption usually comes from background tasks, autonomous runs, or other similar implementations that run through service-account-based integrations. For actions initiated by a user, such as running a cloud task in Air, the AI credit consumption is attributed to the user who initiated the action.
Some Air Governance functionalities require a service account to work, but their usage is not charged in AI credits. For example, requests to the Analytics API do not consume AI credits as no LLM tokens are spent for API access and request processing.
Service account list and details
For each service account, the Service accounts page shows its name and description, the creation date, and who created it in the Created by column. For user-created accounts, the column shows the user who created the account. For system-created accounts, it shows the project that the account belongs to or System. System accounts are generated automatically by external applications or services with the necessary permissions, such as Air Teams.
To open the details page of a service account, click its name in the list. The page has two tabs:
Account details: Shows the account name and description in Basic info, the client ID and client secret in Credentials, and the user who created the account and the creation date in Origin. For system-created accounts, the user is System.
Roles: Shows the roles assigned to the account and lets you change them.

You can perform most actions either on the details page or from the menu next to the account name in the list.
Manage service accounts
Use the Service accounts page to add, update, or delete service accounts, assign and change permissions within service accounts, and copy account credentials.
Create a service account
You create a service account in two steps: first enter the account details, then assign roles.
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
In the top-right corner, click Add service account.
The New service account dialog opens.
Enter the service account Name and, optionally, a Description, and click Next.
In the Assign roles step, select the checkboxes next to the roles that you want to assign to the service account. To find a role, search by role, permission, or scope. To create a new role, click New role.
For a group-scoped role, click Select groups next to the role and select the groups to which the role's permissions apply. You must select a group for every selected group-scoped role before you can create the service account.
If you aren't sure which roles the account needs, leave all roles unselected and assign them later. To change the account name or description, click Back. Your entries and selected roles are kept.
Click Create service account.
The Service account credentials dialog shows the Client ID and Client secret for the new service account.
Click copy
next to the client secret and store it in a safe place, as you won't be able to see it again. Then click Done.
You will use client ID and client secret to get an access token that will let you integrate your own applications or services with Air Governance.
View service account credentials
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
Click the name of the service account.
The Credentials section of the Account details tab shows the Client ID and Client secret fields. To copy the client ID, click copy
next to its value.
Alternatively, click the
menu next to the account name and select View credentials.
Rotate the client secret
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
Click the name of the service account.
In the Credentials section of the Account details tab, click Rotate secret, and then click Rotate secret again to confirm.
The Service account credentials dialog shows the new client secret.
Alternatively, click the
menu next to the account name, select View credentials, and click Regenerate secret. In this case, the new secret is generated immediately, without a confirmation step.
Copy the new client secret, as you won't be able to see it again, and click Done.
Manage service account permissions
You can define permissions for service accounts by assigning or removing roles. Each role includes a set of permissions that defines the access rights and allowed actions.
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
Click the name of the service account and open the Roles tab.
Alternatively, click the
menu next to the account name and select Change permissions.
The list shows all roles in your organization, with the roles assigned to the service account selected at the top. To find a role, search by role, permission, or scope.
Change the assigned roles:
To assign a role, select the checkbox next to it. For a group-scoped role, click Select groups and select the groups to which the relevant permissions should apply. For example, a service account responsible for fetching your department's AI analytics should have a role allowing it to view AI analytics of several product development groups within your department.
To remove a role, clear the checkbox next to it.
To create a new role, click New role.
Click Save changes.
Edit service account details
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
Click the name of the service account.
Alternatively, click the
menu next to the account name and select Edit account details. The Service account details dialog opens.
In the Basic info section of the Account details tab, change the service account Name or Description.
Click Save changes.
Delete service accounts
In the sidebar, under Users and access, select Service accounts.
If you don't see this page, your role doesn't have the necessary permissions.
Click the name of the service account, and then click Delete service account in the top-right corner.
Alternatively, click the
menu next to the account name and select Delete account.
In the confirmation dialog, click Delete service account.
To delete multiple service accounts, select the checkboxes next to the accounts, click Delete service account in the toolbar at the bottom of the page, and confirm account deletion.