OpenAPI 3.0.1Apache 2.02026-08-1498173136.5 KB

921bd6400323

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