Fly.io
Overview
The Fly.io integration connects your Fly.io organization to Oneleet, syncing apps, users, devices, secrets, tokens, and network peers. This provides comprehensive visibility into your Fly.io infrastructure for security monitoring and compliance.
What does Oneleet monitor?
- Apps — deployed applications (excluding destroyed apps)
- Users — organization members, including MFA/2FA status and roles
- Secrets — application-level secrets with ownership tracking
- Tokens — organization access tokens with expiration and revocation status
- Volumes — storage volumes, including encryption and snapshot retention settings
- WireGuard peers — VPN peer connections, with detection of peers belonging to offboarded members
Setup
To set up the Fly.io integration, navigate to Integrations > Add integration > Fly.io and click Continue.
Oneleet requires an organization access token and your organization slug to connect.
Creating an organization access token
Via the Fly.io Dashboard
- Navigate to the Fly.io Dashboard
- Click Tokens in the left sidebar
- Optionally set a token name and expiration duration
- Click Create Organization Token
- Copy the generated token
Via the Fly.io CLI
- Install
flyctlfrom the Fly.io CLI docs - Run the following command:
The
fly tokens create org --name "Oneleet Integration" --expiry 8760h--expiryflag accepts durations in hours (e.g.,8760hfor 1 year).
Finding your organization slug
Your organization slug is the URL-safe name of your Fly.io organization. You can find it in the URL when viewing your organization dashboard: https://fly.io/dashboard/<org-slug>.
Connecting to Oneleet
- Enter your organization slug (4–100 characters)
- Paste the organization access token
- Click Submit
Oneleet will validate the token by querying the Fly.io GraphQL API for your organization details.