Plugins / Fly.io
Fly.io 0.4.3
The Fly.io plugin lets a Vaubaan Gateway mission use Fly.io without handing the agent a credential. Apps on Fly.io: machines, images, volumes and snapshots, secrets, IP addresses and certificates — one resource per app.
1 · The model
How Fly.io is modelled
1 plane, 25 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one Fly organization token.
Plane · appsA Fly organization, its apps and what runs and is stored in them.
1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment
Account
One account is one Fly organization token.
Resource
One resource is one app of that organization. The owner labels each app staging or prod, and writes are held per label. Machines only run images pinned by digest under the allowed prefixes of the account, secret values are never read back, and running a command inside a machine is its own permission.
Environment
- Rule
- The environment is the label the owner of the account puts on each resource. A permission tied to an environment is held once per label, and is refused on a resource that has no label or a label the permission does not list.
- Known
- stagingprod
- Carried by
apps.app
2 · Macro-actions
What an agent does at Fly.io: 5 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Observe
Apps, machines, volumes, secret names and logs.
Looking at the mission's apps: machines and their configuration, volumes, addresses, certificates, the names of secrets and recent logs. Nothing changes, and secret values are replaced before the agent sees them. Logs are a permission of their own because an app may print customer data or a secret.
4 permissions
- 2
Operate
Deploy, power, resize, snapshot, certificates and shell.
Running what exists: deploying an image, starting, stopping and resizing machines, snapshots, certificates and a shell on a machine. Only images pinned by digest under the account's prefixes deploy, and a mounted volume is snapshotted first. The shell is kept apart because any command runs there with the app's secrets and volume, the master key of a Vaubaan instance included.
7 permissions
- 3
Build
Create apps, machines, volumes and addresses.
Adding to the organization: new apps, machines, volumes, public addresses, and the configuration a machine boots with. Each of these can be billed while it exists, and a public address puts the app on the internet. A configuration is its own permission because it can start any command with the app's secrets in its environment.
7 permissions
- 4
Set secrets
Set or remove app secrets.
Setting or removing the secrets an app reads, picked up when its machines are next updated. One wrong value, a master key or a sign-in setting, can lock everyone out of an instance or leave its sealed data unreadable, which is why secrets stand alone.
1 permission
- 5
Tear down
Destroy machines, volumes, apps, addresses and certificates.
Removing what exists: machines, volumes, whole apps, addresses and certificates. Each is final: a destroyed volume survives only in snapshots still within their retention, and a released dedicated address is not given back. Kept apart from everything else so a mission can build and run without being able to destroy.
5 permissions
3 · The map
The map
24 permissions of 5 macro-actions, in the four rows of the tree. For the chosen trust level and environment (fly[prod].…fly[staging].…), each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | ObserveApps, machines, volumes, secret names and logs. | OperateDeploy, power, resize, snapshot, certificates and shell. | BuildCreate apps, machines, volumes and addresses. | Set secretsSet or remove app secrets. | Tear downDestroy machines, volumes, apps, addresses and certificates. |
|---|---|---|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None |
|
| None |
|
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None |
|
|
|
|
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. |
|
|
| None | None |
| Harmless Runs freely at every level. |
| None | None | None | None |
Careful on prod: runs freely 2, ask me first 17, not included 5. Careful on staging: runs freely 2, ask me first 17, not included 5. Trusting on prod: runs freely 13, ask me first 11. Trusting on staging: runs freely 13, ask me first 11. Autonomous on prod: runs freely 19, ask me first 5. Autonomous on staging: runs freely 19, ask me first 5. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
Held once, whatever the app: List the apps and regions of the organization; Read machines, volumes, snapshots, IP addresses and certificates; List the names of the app secrets; Read the app logs; Take a volume snapshot; Create an app in the organization; Create an empty volume. Every other permission is held once per environment.
4 · A few calls
A few calls, classified by the plugin
44 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 44 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
fly__ |
|
| ask me |
fly__ |
|
| ask me |
fly__ |
|
| ask me |
fly__ |
|
| ask me |
fly__ |
|
| no |
5 · Anything else
Anything else
A call no permission covers touches fly. instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized writeWhy it sits here: Catch-all for a write no other entry covers. Seeing it in the activity means the catalog misses an entry. fly.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
6 · Tools
Tools
42 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
42 tools · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
fly__ | List regions | fly. |
fly__ | List apps | fly. |
fly__ | Read an app | fly. |
fly__ | Create an app | fly. |
fly__ | Destroy an app | fly. |
fly__ | List machines | fly. |
fly__ | Read a machine | fly. |
fly__ | List machine events | fly. |
fly__ | List machine processes | fly. |
fly__ | Wait for a machine state | fly. |
fly__ | Create a machine | fly., fly., fly. |
fly__ | Replace a machine configuration | fly., fly., fly. |
fly__ | Change the image of a machine | fly. |
fly__ | Resize a machine | fly. |
fly__ | Start a machine | fly. |
fly__ | Stop a machine | fly. |
fly__ | Restart a machine | fly. |
fly__ | Suspend a machine | fly. |
fly__ | Route traffic away from a machine | fly. |
fly__ | Route traffic back to a machine | fly. |
fly__ | Destroy a machine | fly. |
fly__ | Run a command inside a machine | fly. |
fly__ | List volumes | fly. |
fly__ | Read a volume | fly. |
fly__ | List volume snapshots | fly. |
fly__ | Create a volume | fly., fly., fly. |
fly__ | Extend a volume | fly. |
fly__ | Change automatic snapshots | fly. |
fly__ | Take a volume snapshot | fly. |
fly__ | Destroy a volume | fly. |
fly__ | List secret names | fly. |
fly__ | Set app secrets | fly. |
fly__ | Remove an app secret | fly. |
fly__ | List IP addresses | fly. |
fly__ | Allocate an IP address | fly. |
fly__ | Release an IP address | fly. |
fly__ | List certificates | fly. |
fly__ | Read a certificate | fly. |
fly__ | Request a certificate | fly. |
fly__ | Check a certificate | fly. |
fly__ | Remove a certificate | fly. |
fly__ | Read app logs | fly. |
7 · Connecting an account
Connecting an account
1 of 3 · a key you create and paste organization token
An organization token the person creates at Fly.io and pastes once; nobody declares anything beforehand.
One organization token for the organization the agents work in. Fly tokens carry no permission choice: this gateway gives an agent only the apps and permissions its mission names.
- Sign in to Fly.io as a member of the organization the agents will work in.
- TokensCreate Organization tokenOpen the page, choose the organization, name the token vaubaan-gateway and set an expiry, then create it. (open)
- Run this instead with flyctl if you prefer the command line; it prints the same organization token.
fly tokens create org --org <slug> -- name vaubaan- gateway -- expiry 2160h - Copy the token and paste it here with the organization slug; never connect the organization that hosts this gateway.
- Where
- https://fly.io/tokens
- Expiry
- About 90 days, chosen at the service; the service does not tell the gateway the date.
- The connect page asks
- Organization token (secret), Organization and Images machines may run
- The service's documentation
- https://fly.io/docs/security/tokens/
- Disconnecting
- Revoke the token in the Fly dashboard (organization, Tokens) or with fly tokens revoke <id>.
8 · Health
Health
17 gateways run this plugin (over the last 90 days).
| Version | Gateways | Calls | Success | Validated |
|---|---|---|---|---|
0. | 7 | 83 | 98.8 % | |
0. | 5 | 17 | 100.0 % | |
0. | 5 | no call yet | — |
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
9 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/fly.md