Skip to main content
POST
Exchange a GitHub Actions identity token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
grant_type
enum<string>
required
Available options:
urn:ietf:params:oauth:grant-type:token-exchange
subject_token
string
required
organisation_id
string<uuid>
required
subject_token_type
enum<string>
Available options:
urn:ietf:params:oauth:token-type:id_token

Response

Short-lived Ankra bearer token.

access_token
string
issued_token_type
string
token_type
string
expires_in
integer