Skip to main content
GET
Get Barndoor's AWS principal

Authorizations

Authorization
string
header
required

JWT obtained through Barndoor's authentication flow. Pass the token verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's loginInteractive() helper to obtain a token in scripts and notebooks.

Response

200 - application/json

Barndoor's AWS principal info

Barndoor's AWS principal that customer roles must trust for AWS Bedrock IAM-role auth.

configured
boolean
required

Whether AWS role auth is enabled on this Barndoor environment.

principal_arn
string | null

The AWS IAM principal ARN customers should trust in their role's trust policy.

Example:

"arn:aws:iam::123456789012:role/barndoor-llm-gateway"