Integrations
Axiom
Connect Axiom to Alter Vault for secure API access
Overview
Section titled “Overview”Use Axiom credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Template ID | axiom |
| Category | Monitoring & Observability |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Axiom
Log in to Axiom at app.axiom.co.
Go to Settings → API Tokens
Go to Settings → API Tokens at app.axiom.co/settings/api-tokens.
Create a new token
Click ‘New API Token’ and configure permissions.
Copy the token
Copy the generated API token.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Axiom
Go to Managed Secrets > Add Provider > Axiom.
Enter credentials
Paste the API Token into the credential field.
Save
Click Save. You’ll receive a grant_id to use with the SDK.
Using in Code
Section titled “Using in Code”from alter_sdk import PendingApprovalresponse = await alter_app.proxy_request( HttpMethod.POST, "https://api.axiom.co/v1/datasets/YOUR_DATASET/ingest", grant_id="YOUR_GRANT_ID", json=[{"event": "deployment", "status": "success"}],)if isinstance(response, PendingApproval): for gate in response.gates: print("Approval required:", gate.approval_url) response = await alter_app.await_approval(response.approval_id)Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path | Notes |
|---|---|---|---|---|
ingest | write | POST | /v1/ingest/{dataset} | — |
queryApl | read | POST | /v1/query/_apl | — |
getDatasets | read | GET | /v2/datasets | — |
getDataset | read | GET | /v2/datasets/{id} | — |
createDataset | write | POST | /v2/datasets | — |
deleteDataset | delete | DELETE | /v2/datasets/{id} | — |
getMonitors | read | GET | /v2/monitors | — |
getMonitor | read | GET | /v2/monitors/{id} | — |
createMonitor | write | POST | /v2/monitors | — |
deleteMonitor | delete | DELETE | /v2/monitors/{id} | — |
getNotifiers | read | GET | /v2/notifiers | — |
createNotifier | admin, write | POST | /v2/notifiers | allowed; its secret is never stored in a payload capture |
getDashboards | read | GET | /v2/dashboards | — |
createDashboard | write | POST | /v2/dashboards | — |
getAnnotations | read | GET | /v2/annotations | — |
getAnnotation | read | GET | /v2/annotations/{id} | — |
createAnnotation | write | POST | /v2/annotations | — |
deleteAnnotation | delete | DELETE | /v2/annotations/{id} | — |
getTokens | read | GET | /v2/tokens | — |
getToken | read | GET | /v2/tokens/{id} | — |
createToken | admin | POST | /v2/tokens | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it) |
deleteToken | admin, delete | DELETE | /v2/tokens/{id} | — |
getUsers | read | GET | /v2/users | — |
getUser | read | GET | /v2/users/{id} | — |
2/regenerateAPIToken | admin | POST | /v2/tokens/{id}/regenerate | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); served by the provider but absent from its published spec |
Unreviewed operations
Section titled “Unreviewed operations”These operations are in the provider’s published API specification, but Alter has not reviewed them yet, so their families are unknown. Every operation, family or content rule refuses one with operation_unreviewed unless a rule admits it by name, so a broad rule cannot be dodged by calling one. A rule names one by the provider-qualified name in the first column, never by the bare operation ID, which other providers may share. To use one under a rule, list that name in an operation allowlist to allow it, or in a require_approval rule whose every condition names it to hold it for approval; saving such a rule needs an organization admin. A family never admits one. Because an unreviewed operation may create credentials or change account security, admitting one also needs a scoped credential_minting allowance naming the provider and that name. See Unreviewed operations.
| Name in a rule | Method | Provider path |
|---|---|---|
axiom:createGroup | POST | /v2/rbac/groups |
axiom:createLabel | POST | /v2/labels |
axiom:createMapField | POST | /v2/datasets/{dataset_id}/mapfields |
axiom:createOrg | POST | /v2/orgs |
axiom:createRole | POST | /v2/rbac/roles |
axiom:createStarred | POST | /v2/apl-starred-queries |
axiom:createUser | POST | /v2/users |
axiom:createView | POST | /v2/views |
axiom:createVirtualField | POST | /v2/vfields |
axiom:deleteDashboard | DELETE | /v2/dashboards/uid/{uid} |
axiom:deleteDatasetFields | POST | /v2/datasets/{dataset_id}/delete-fields |
axiom:deleteFieldForDataset | DELETE | /v2/datasets/{dataset_id}/fields/{field_id} |
axiom:deleteGroup | DELETE | /v2/rbac/groups/{id} |
axiom:deleteLabel | DELETE | /v2/labels/{id} |
axiom:deleteMapField | DELETE | /v2/datasets/{dataset_id}/mapfields/{map_field_name} |
axiom:deleteNotifier | DELETE | /v2/notifiers/{id} |
axiom:deleteRole | DELETE | /v2/rbac/roles/{id} |
axiom:deleteStarred | DELETE | /v2/apl-starred-queries/{id} |
axiom:deleteView | DELETE | /v2/views/{id} |
axiom:deleteVirtualField | DELETE | /v2/vfields/{id} |
axiom:getCurrentUser | GET | /v2/user |
axiom:getDashboard | GET | /v2/dashboards/uid/{uid} |
axiom:getFieldForDataset | GET | /v2/datasets/{dataset_id}/fields/{field_id} |
axiom:getFieldsForDataset | GET | /v2/datasets/{dataset_id}/fields |
axiom:getGroupById | GET | /v2/rbac/groups/{id} |
axiom:getLabel | GET | /v2/labels/{id} |
axiom:getMapFields | GET | /v2/datasets/{dataset_id}/mapfields |
axiom:getMonitorHistory | GET | /v2/monitors/{id}/history |
axiom:getNotifier | GET | /v2/notifiers/{id} |
axiom:getOrg | GET | /v2/orgs/{id} |
axiom:getOrgs | GET | /v2/orgs |
axiom:getRoleById | GET | /v2/rbac/roles/{id} |
axiom:getStarred | GET | /v2/apl-starred-queries/{id} |
axiom:getStarredQueries | GET | /v2/apl-starred-queries |
axiom:getView | GET | /v2/views/{id} |
axiom:getViews | GET | /v2/views |
axiom:getVirtualField | GET | /v2/vfields/{id} |
axiom:getVirtualFields | GET | /v2/vfields |
axiom:ingestIntoDataset | POST | /v2/datasets/{dataset_name}/ingest |
axiom:listGroups | GET | /v2/rbac/groups |
axiom:listLabelAssignments | POST | /v2/labels/assignments |
axiom:listLabels | GET | /v2/labels |
axiom:listRoles | GET | /v2/rbac/roles |
axiom:patchDashboardChart | PATCH | /v2/dashboards/uid/{uid}/charts/{chartId} |
axiom:provisionOrg | POST | /v2/orgs/provision |
axiom:queryDataset | POST | /v2/datasets/{dataset_name}/query |
axiom:removeUserFromOrg | DELETE | /v2/users/{id} |
axiom:replaceLabelAssignments | PUT | /v2/labels/assignments |
axiom:trimDataset | POST | /v2/datasets/{dataset_id}/trim |
axiom:updateAnnotation | PUT | /v2/annotations/{id} |
axiom:updateCurrentUser | PUT | /v2/user |
axiom:updateDashboard | PUT | /v2/dashboards/uid/{uid} |
axiom:updateDataset | PUT | /v2/datasets/{dataset_id} |
axiom:updateFieldForDataset | PUT | /v2/datasets/{dataset_id}/fields/{field_id} |
axiom:updateGroup | PUT | /v2/rbac/groups/{id} |
axiom:updateLabel | PUT | /v2/labels/{id} |
axiom:updateMapFields | PUT | /v2/datasets/{dataset_id}/mapfields |
axiom:updateMonitor | PUT | /v2/monitors/{id} |
axiom:updateNotifier | PUT | /v2/notifiers/{id} |
axiom:updateOrg | PUT | /v2/orgs/{id} |
axiom:updateRole | PUT | /v2/rbac/roles/{id} |
axiom:updateStarred | PUT | /v2/apl-starred-queries/{id} |
axiom:updateUserRole | PUT | /v2/users/{id}/role |
axiom:updateView | PUT | /v2/views/{id} |
axiom:updateVirtualField | PUT | /v2/vfields/{id} |
axiom:vacuumDataset | POST | /v2/datasets/{dataset_id}/vacuum |