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

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

name
string
required

Provider name, e.g. google_dlp

Response

The trust-policy pair for this connection

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.