Docs
Live demo
GET/api/v2/identities/{id}/token-exchange-trusts

List the tokens of other issuers this service account may exchange in Dex for a token of an application client (OAuth 2.0 token exchange, RFC 8693). The public keys pasted for an issuer are not returned: key_source says whether Principal reads the keys through OIDC discovery or uses pasted keys.

Parameters

Path1 required of 1
idstringpathrequired

Identity ID (UUID) of the service account

Responses

200

OK

ServiceAccountTokenTrustListResponse · 1 field
itemsarray of ServiceAccountTokenTrustResponserequired
7 fields
idstring · uuidrequired
identity_idstring · uuidrequired
issuerstringrequired
subjectstringrequired
audiencestringrequired
key_sourcestringrequired

discovery when Principal reads the keys of the issuer, static when keys were pasted.

discoverystatic
created_atstring · date-timerequired
400

Bad Request: the user is not a service account.

403

The caller's roles do not grant the permission of the operation

404

Not Found: no such user in the organization, or no such trusted token of this user.

Common errors: 401 413 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close