Skip to the content
Vaubaan Gateway

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.

Version 0.4.3 · 24 permissions · 5 macro-actions · 42 tools · 17 gateways run this plugin (over the last 90 days).

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.

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. 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. 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. 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. 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. 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.

Trust level
Environment

yes runs freelyask me ask me firstno not included

Mild actions run freely; sensitive or costly ones ask first; irreversible ones are left out.Up to sensitive actions run freely; costly and irreversible ones ask first. Limits ×3.Everything but irreversible actions runs freely; those ask first. Limits ×10.

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.

Fly.io permissions by macro-action and row of the tree, with what the chosen trust level does and the quota a day
RiskObserveApps, 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

  • Run a command inside a machine irreversibleWhy it sits here: Any command, with the app's secrets in its environment and its volume mounted; the output comes back to the agent. On a Vaubaan instance this reaches the master key and every account it seals. fly.machine-exec

    noask me · 30 a dayask me · 100 a daynoask me · 30 a dayask me · 100 a day

  • Extend a volume irreversibleWhy it sits here: A volume grows and never shrinks: the extra size is billed for as long as it exists. fly.volume-extend

    noask me · 15 a dayask me · 50 a daynoask me · 15 a dayask me · 50 a day

None

  • Destroy an app irreversibleWhy it sits here: Removes the app with its machines, addresses, certificates, volumes and their snapshots. Its data is gone for good. fly.app-destroy

    noask me · 6 a dayask me · 20 a daynoask me · 6 a dayask me · 20 a day

  • Destroy a volume irreversibleWhy it sits here: Cannot be undone. The data survives only in snapshots still within their retention period. fly.volume-destroy

    noask me · 6 a dayask me · 20 a daynoask me · 6 a dayask me · 20 a day

  • Release an IP address irreversibleWhy it sits here: The app stops answering on that address and DNS pointing at it breaks. A released dedicated address is not given back. fly.ip-release

    noask me · 15 a dayask me · 50 a daynoask me · 15 a dayask me · 50 a day

Repairable, at a price

Careful, Trusting: ask me. Autonomous: runs freely.

None

  • Resize a machine unbounded costWhy it sits here: CPU and memory of a machine, billed while it runs. The machine restarts. fly.scale

    ask me · 10 a dayask me · 30 a dayyes · 100 a dayask me · 10 a dayask me · 30 a dayyes · 100 a day

  • Set a machine configuration costly to undoWhy it sits here: Environment variables, start command, files written at boot, mounted volumes, autostop and the services the machine exposes. A configuration can start any command with the app's secrets in its environment. fly.machine-config-write

    ask me · 10 a dayask me · 30 a dayyes · 100 a dayask me · 10 a dayask me · 30 a dayyes · 100 a day

  • Create a volume from a snapshot or another volume costly to undoWhy it sits here: Copies data into a new volume. A machine that mounts it serves that data, which may be older than the live one. The source must belong to the same app. fly.volume-restore

    ask me · 5 a dayask me · 15 a dayyes · 50 a dayask me · 5 a dayask me · 15 a dayyes · 50 a day

  • Set or remove app secrets costly to undoWhy it sits here: Machines pick up new values when they are next updated. A wrong or missing value, such as a master key or a sign-in setting, can lock everyone out of an instance or make its sealed data unreadable. fly.secret-write

    ask me · 20 a dayask me · 60 a dayyes · 200 a dayask me · 20 a dayask me · 60 a dayyes · 200 a day

  • Destroy a machine costly to undoWhy it sits here: The machine and its root filesystem are gone; a volume it mounted stays. A stopped machine only: a running one must be stopped first. fly.machine-destroy

    ask me · 5 a dayask me · 15 a dayyes · 50 a dayask me · 5 a dayask me · 15 a dayyes · 50 a day

  • Remove a certificate costly to undoWhy it sits here: HTTPS on that hostname fails until a certificate is issued again. fly.certificate-remove

    ask me · 5 a dayask me · 15 a dayyes · 50 a dayask me · 5 a dayask me · 15 a dayyes · 50 a day

Worth a look

Careful: ask me. Trusting, Autonomous: runs freely.

  • List the apps and regions of the organization whole accountWhy it sits here: App names, ids and networks, and the platform regions. App names can tell what the organization runs; the answer is filtered to the apps of the mission. fly.read-org

    ask me · 2,000 a dayyes · 6,000 a dayyes · 20,000 a day

  • Read the app logs personal dataWhy it sits here: What the app printed recently. Logs can carry customer data, and secrets when an app prints them. fly.read-logs

    ask me · 1,000 a dayyes · 3,000 a dayyes · 10,000 a day

  • Change the image a machine runs secret dataWhy it sits here: The machine restarts on the new image, which runs with the app's secrets and volume. Only images pinned by digest under the account's allowed prefixes are accepted, and a mounted volume needs a fresh snapshot first. fly.deploy

    ask me · 20 a dayyes · 60 a dayyes · 200 a dayask me · 20 a dayyes · 60 a dayyes · 200 a day

  • Start, stop, restart, suspend or cordon a machine publicWhy it sits here: A stopped or cordoned machine serves no traffic until it starts again or a request wakes it. Changes no data. fly.machine-power

    ask me · 100 a dayyes · 300 a dayyes · 1,000 a dayask me · 100 a dayyes · 300 a dayyes · 1,000 a day

  • Change automatic snapshots of a volume moderate costWhy it sits here: Turns daily snapshots on or off and sets how many days they are kept. Off, or a shorter retention, leaves less to restore from. fly.volume-backup-settings

    ask me · 10 a dayyes · 30 a dayyes · 100 a dayask me · 10 a dayyes · 30 a dayyes · 100 a day

  • Take a volume snapshot moderate costWhy it sits here: A point-in-time copy, kept for the volume retention period. Changes nothing that runs. fly.volume-snapshot

    ask me · 50 a dayyes · 150 a dayyes · 500 a day

  • Request or re-check a certificate publicWhy it sits here: Asks Fly to issue a certificate for a hostname, or to validate it again. Issuance succeeds only when the hostname's DNS points at the app. fly.certificate-write

    ask me · 20 a dayyes · 60 a dayyes · 200 a dayask me · 20 a dayyes · 60 a dayyes · 200 a day

  • Create an app in the organization whole accountWhy it sits here: A new app on a private network of its own. Costs nothing until it runs machines. It is not part of the mission until its owner labels it and adds it. fly.app-create

    ask me · 10 a dayyes · 30 a dayyes · 100 a day

  • Create a machine moderate costWhy it sits here: A new VM in the app, billed while it runs. A creation sets a whole configuration and an image: a mission needs those two permissions too. fly.machine-create

    ask me · 20 a dayyes · 60 a dayyes · 200 a dayask me · 20 a dayyes · 60 a dayyes · 200 a day

  • Create an empty volume moderate costWhy it sits here: Persistent storage billed by size, in one region. Holds no data yet. fly.volume-create

    ask me · 10 a dayyes · 30 a dayyes · 100 a day

  • Allocate an IP address moderate costWhy it sits here: A public address makes the app reachable from the internet; a dedicated IPv4 address is billed monthly. fly.ip-write

    ask me · 5 a dayyes · 15 a dayyes · 50 a dayask me · 5 a dayyes · 15 a dayyes · 50 a day

None

None

Harmless

Runs freely at every level.

  • Read machines, volumes, snapshots, IP addresses and certificatesWhy it sits here: Machine configurations (image, region, size, services, plain environment variables), events, processes, volumes and their snapshots, the app's addresses and certificates. People sometimes put secrets in plain environment variables. fly.read-runtime

    yes · 5,000 a dayyes · 15,000 a dayyes · 50,000 a day

  • List the names of the app secretsWhy it sits here: Names, digests and dates of the secrets set on an app, never their values: any value in Fly's answer is replaced before the agent sees it. fly.read-secret-names

    yes · 500 a dayyes · 1,500 a dayyes · 5,000 a day

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 callThe plugin seesThe catalog answersA Careful mission
fly__list_regions {}
  • fly.org[vaubaan].region[*].R
  • List the apps and regions of the organization fly.read-org
ask me
fly__deploy_image {"app":"acme-gw","machine_id":"m1","image":"ghcr.io/vaubaan/gateway:1.4.0@sha256:aaaaaaaa…"}
  • fly.org[vaubaan].app[acme-gw].machine[m1].image.W
  • Change the image a machine runs fly.deploy
ask me
fly__create_app {"name":"beta-gw","network":"beta-net"}
  • fly.org[vaubaan].app.W
  • Create an app in the organization fly.app-create
ask me
fly__set_secrets {"app":"acme-gw","values":{"OIDC_ISSUER":"https://id.example"}}
  • fly.org[vaubaan].app[acme-gw].secret[OIDC_ISSUER].W
  • Set or remove app secrets fly.secret-write
ask me
fly__destroy_app {"app":"acme-gw"}
  • fly.org[vaubaan].app[acme-gw].app-destroy.W
  • Destroy an app fly.app-destroy
no

5 · Anything else

Anything else

A call no permission covers touches fly.uncategorized-write instead of slipping through. No macro-action holds it; a person ticks it knowingly.

PermissionRiskCareful ×1Trusting ×3Autonomous ×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-writeRepairable, at a price costly to undoask me · 50 a dayask me · 150 a dayyes · 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

ToolWhat it doesUsually touches
fly__list_regionsList regionsfly.read-org
fly__list_appsList appsfly.read-org
fly__get_appRead an appfly.read-org
fly__create_appCreate an appfly.app-create
fly__destroy_appDestroy an appfly.app-destroy
fly__list_machinesList machinesfly.read-runtime
fly__get_machineRead a machinefly.read-runtime
fly__list_machine_eventsList machine eventsfly.read-runtime
fly__list_machine_processesList machine processesfly.read-runtime
fly__wait_machineWait for a machine statefly.read-runtime
fly__create_machineCreate a machinefly.machine-create, fly.machine-config-write, fly.deploy
fly__update_machineReplace a machine configurationfly.machine-config-write, fly.deploy, fly.scale
fly__deploy_imageChange the image of a machinefly.deploy
fly__scale_machineResize a machinefly.scale
fly__start_machineStart a machinefly.machine-power
fly__stop_machineStop a machinefly.machine-power
fly__restart_machineRestart a machinefly.machine-power
fly__suspend_machineSuspend a machinefly.machine-power
fly__cordon_machineRoute traffic away from a machinefly.machine-power
fly__uncordon_machineRoute traffic back to a machinefly.machine-power
fly__destroy_machineDestroy a machinefly.machine-destroy
fly__exec_machineRun a command inside a machinefly.machine-exec
fly__list_volumesList volumesfly.read-runtime
fly__get_volumeRead a volumefly.read-runtime
fly__list_snapshotsList volume snapshotsfly.read-runtime
fly__create_volumeCreate a volumefly.volume-create, fly.volume-restore, fly.volume-backup-settings
fly__extend_volumeExtend a volumefly.volume-extend
fly__update_volumeChange automatic snapshotsfly.volume-backup-settings
fly__create_snapshotTake a volume snapshotfly.volume-snapshot
fly__destroy_volumeDestroy a volumefly.volume-destroy
fly__list_secretsList secret namesfly.read-secret-names
fly__set_secretsSet app secretsfly.secret-write
fly__unset_secretRemove an app secretfly.secret-write
fly__list_ipsList IP addressesfly.read-runtime
fly__allocate_ipAllocate an IP addressfly.ip-write
fly__release_ipRelease an IP addressfly.ip-release
fly__list_certificatesList certificatesfly.read-runtime
fly__get_certificateRead a certificatefly.read-runtime
fly__request_certificateRequest a certificatefly.certificate-write
fly__check_certificateCheck a certificatefly.certificate-write
fly__remove_certificateRemove a certificatefly.certificate-remove
fly__get_logsRead app logsfly.read-logs

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.

Organization

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.

  1. Sign in to Fly.io as a member of the organization the agents will work in.
  2. TokensCreate Organization tokenOpen the page, choose the organization, name the token vaubaan-gateway and set an expiry, then create it. (open)
  3. 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
  4. 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).

VersionGatewaysCallsSuccessValidated
0.4.078398.8 %
0.3.1517100.0 %
0.3.05no 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.

Last changed 2026-12-02. This page as Markdown: /plugins/fly.md