Request a Petsem token for accessing KMS
This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete Machines API docs for details about using the Apps resource.
Authorization
bearerAuth A Fly.io access token. Create one with fly tokens create.
In: header
Response Body
text/plain
curl -X POST "https://example.com/tokens/kms""string"Get Current Token Information GET
Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions
Request an OIDC token POST
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](/docs/reference/openid-connect/) on Fly.io.