Skip to main content
GET
Get Barndoor's AWS principal

Authorizations

Authorization
string
header
required

An access token from Barndoor's identity provider, sent as Authorization: Bearer <token>. Use a service-account token from the OAuth 2.0 client-credentials grant for scripts and CI, or a signed-in user's token. The caller needs the admin role in the organization. Gateway API keys (bd-...) are not accepted here.

Response

OK

Whether Barndoor's AWS principal is available for IAM role trust policies.

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.