Skip to main content
GET
Get the organization's AWS external ID
Returns the sts:ExternalId for your organization. OneCLI creates it on first read and never changes it. Add it to your IAM role trust policy before you connect AWS. Related guide: App connections: connect agents to apps. The sts:ExternalId to put in the trust policy of the IAM role an AWS connection assumes. Minted on first read and stable after.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Response

200 - application/json

The external ID

externalId
string