Fly.io Connection
Learn how to configure a Fly.io Connection for Hanzo KMS.
Hanzo KMS supports the use of Access Tokens to connect with Fly.io.
Create Fly.io Access Token


Ensure that you give this token access to the correct app, then click 'Create Token'.

After clicking 'Create Token', a modal containing your access token will appear. Save this token for later steps.
Create Fly.io Connection in Hanzo KMS
In your Hanzo KMS dashboard, navigate to the Integrations tab in the desired project, then select App Connections.

Click the + Add Connection button and select the Fly.io Connection option from the available integrations.

Complete the Fly.io Connection form by entering:
- A descriptive name for the connection
- An optional description for future reference
- The Access Token from earlier steps

After clicking Create, your Fly.io Connection is established and ready to use with your Hanzo KMS project.

To create a Fly.io Connection, make an API request to the Create Fly.io Connection API endpoint.
Sample request
curl --request POST \
--url https://app.kms.hanzo.ai/api/v1/app-connections/flyio \
--header 'Content-Type: application/json' \
--data '{
"name": "my-flyio-connection",
"method": "access-token",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"credentials": {
"accessToken": "[PRIVATE TOKEN]"
}
}'Sample response
{
"appConnection": {
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
"name": "my-flyio-connection",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"description": null,
"version": 1,
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
"createdAt": "2025-04-23T19:46:34.831Z",
"updatedAt": "2025-04-23T19:46:34.831Z",
"isPlatformManagedCredentials": false,
"credentialsHash": "7c2d371dec195f82a6a0d5b41c970a229cfcaf88e894a5b6395e2dbd0280661f",
"app": "flyio",
"method": "access-token",
"credentials": {}
}
}How is this guide?
Last updated on