GuidesAPI Reference
API Reference

Get a list of cross realm trusts

Get a list of CrossRealmTrusts established for the Realm or Project of the requesting User or App, where the realm/project is either source or target. An entity can get the CrossRealmTrusts created for its realm/project or granted from its realm/project to other realms/projects based on the "rlm" claim in the access token. Among query parameters sourceRealm, sourceProject, targetProject and targetRealm supports only one filter at a time. Caller entity's realm must match realm specified in sourceProject or targetProject query parameter.


Access Control:

  • The calling principal must have "readCrossRealmTrust" action permission for the resource "{realm}" in the "authorization" service. The "{realm}" here represents the HRN of the target realm.
  • This permission is granted to all entities by default policy. This permission is also explicitly granted to all entities with roles OrgAdmin or CrossRealmTrustManager.
  • The calling principal MUST NOT include a project scope.
Query Params
string

HRN identifying the source realm

string

HRN identifying the target realm

string

HRN identifying the source project

string

HRN identifying the target project

string

The cursor for pagination. Present only if there is an additional page of data to view.

integer
0 to 100
Defaults to 100

Number of records to return. Default is 100 records. Maximum is 100 records.

Headers
string

Correlates HTTP requests between a client and server. If not present in the incoming request, it will be generated.

Responses

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json