AuthCredential
The credential the request authenticated with. name and keyStart are present only for api_key, where each is null when the key row can no longer be read. Timestamps are null when the backing row can no longer be read.
- entityType: stringFormat: uuidnullable
Id requiredFor a session, the active tenant. For an API key, the tenant recorded on the key row; a key with no tenant of its own does not authenticate. Falls back to the pinned primary tenant only when the key row has been removed since authentication, so this always equals
grants.entityId. - expiresType: stringFormat: date-timenullable
At requiredNull when the credential never expires
- idType: stringrequired
The session id or API key id
- impersonatedType: stringFormat: uuidnullable
By requiredThe impersonating admin's user id when the session was opened by impersonation
- issuedType: stringFormat: date-timenullable
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- kindType: "session" or "api_key"enumrequired
- lastType: stringFormat: date-timenullable
Used At requiredAlways null for a session — sessions carry no last-use tracking
- keyType: stringnullable
Start The stored
startof the key (configured prefix plus the leading characters), the same value the API-keys list shows asstart; never the secret. API key only, and only ever returned to the holder of that key. - nameType: stringnullable
API key only — the name the key was created with, or null when the key row can no longer be read.
.png)