Skip to main content
GET
Get this organization's Barndoor principal for Google impersonation

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.

Response

Whether Google impersonation is configured, and this organization's principal

The organization's own Barndoor principal for Google impersonation.

configured
boolean
required

True when this environment can provision Google principals.

principal_service_account
string | null

This organization's Barndoor service account. The customer grants it roles/iam.serviceAccountTokenCreator on their target service account. Null when unconfigured.