A

Aserto Directory GraphQL API

GraphQL discovered

Details
Endpoint
https://directory.prod.aserto.com/graph
Spec
introspection
Docs
https://docs.aserto.com/docs/directory-api-reference/graphql
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 Authorization: bearer <credential> + Aserto account login token Aserto-Tenant-ID: <credential> discovered
Aserto account login token oauth2 Set up OAuth ↗

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.