Skip to main content
GET
Get Barndoor's AWS principal for role-assumption trust policies

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.

Response

Whether a principal is configured, and which

Whether Barndoor's own AWS principal is configured for aws_role trust.

configured
boolean
required

True when Barndoor has a principal ARN to put in a customer trust policy.

principal_arn
string | null

The ARN customers name as the trusted principal; null when unconfigured.