latestOpenAPI 3.0.1Apache 2.02026-08-2098173136.7 KB

9e6a180c40a3

Tokens

Request an OIDC token

Request an Open ID Connect token for your machine. Customize the audience claim with the aud parameter. This returns a JWT token. Learn more about using OpenID Connect on Fly.io.

post/v1/tokens/oidc

Request body

audstring
aws_principal_tagsboolean

Example request

{
  "aud": "https://fly.io/org-slug"
}

Response

OIDC token