A

Aserto Decision Logs REST API

REST discovered

Details
URL
https://relay.prod.aserto.com/api/v1/decision_logs
Docs
https://docs.aserto.com/docs/decision-logs-guide/api/overview
Authentication
Aserto Directory API key Authorization: basic <credential> + Aserto Directory API key Aserto-Tenant-ID: <credential> discovered
Aserto Directory API key api_key Get key ↗

In the Aserto Console, open Connections and expand the Aserto Directory connection. Copy the API key shown there. You'll also need your tenant ID from Account settings or Manage organization.

Aserto account login token oauth2 discovered Set up OAuth ↗
Authorization: bearer <credential>

Sign in to the Aserto Console. The docs state the CLI can obtain and cache an access token by running aserto login, which opens a browser to authenticate with the Aserto identity provider. This same logged-in account/JWT is accepted by some hosted APIs and the authenticated docs experience.