Security boundary
Creating, pausing, reactivating or deleting a Service Account is Web-only. Provisioning, rotating, revoking and repairing its credential is also Web-only. A human PAT can read safe Service Account metadata through API, SDK, CLI and MCP. A Service Account cannot inspect the account’s Service Account list, including other machine identities. Record sharing is performed by an authorized human through the normal Records capability. Developer tools do not administer the Service Account lifecycle.Prepare access in the dashboard
- Open Settings > Service accounts.
- Create the Service Account.
- Assign a custom role and the project where it will work.
- Open Machine access and provision a credential.
- Store the complete credential bundle through the offered save flow or your approved custody system.
List Service Accounts
API
SDK
CLI
MCP
These tools require a human PAT and return metadata only.MCP tools used:
list_service_accounts, get_service_accountUse a Service Account with the SDK
Load one complete active credential bundle:Use a Service Account with the CLI
Inject the five active bundle fields through your runtime environment, then run a supported machine command:--project to run. The CLI never falls back to a human default project for a machine identity.
It may also list accessible records, list providers, and read one
accessible gateway’s details, tokens, logs and key-access events. Project creation, record creation,
sharing and Gateway configuration remain human-only.
Use a Service Account with MCP
Map the active bundle to the MCP server environment:@airctrl/sdk. Record values are decrypted locally
without a human vault passphrase. In Service Account mode, MCP registers only the supported record and
Gateway read tools, plus local status, format-discovery and generation helpers that do not change .
It does not register record writes, sharing, project changes, Gateway changes or Service Account
administration. RBAC and project access can further reduce the available reads.
Share a record with a Service Account
The record owner or an authorized human encrypts the record key for the Service Account identity. Sharing through any developer surface requires a human PAT. Sharing one record does not expose another record or another Service Account.MCP tool used:
share_record_service_accountCommon failures
service_account_disabled: reactivate it in the dashboard before using its credential.service_account_revoked: the identity can no longer authenticate.sa_sealed_unlock_requires_capability: supply the matching credential ID and capability private key.sa_env_bundle_incomplete: the CLI received only part of an active bundle.403: the Service Account lacks the required custom-role permission or project grant.