Skip to main content
GET
Get the trust-policy principal and external id for a provider connection

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Scopes

openid

Issue an OIDC ID token identifying the caller.

profile

Read the caller's basic profile claims.

email

Read the caller's email address.

Path Parameters

id
string<uuid>
required

Identifier, a UUID

Response

The requested record

The pair a customer needs to write an aws_role trust policy.

external_id
string
required

The per-connection external id, to require in the trust condition.

principal_arn
string
required

Barndoor's principal ARN, to trust in the customer's role.