ftl2-secret-bindings-map-modules-to-env-vars

Status: IN

FTL2 secret bindings map module FQCN names to environment variable names (e.g., `{"community.general.linode_v4": {"access_token": "LINODE_TOKEN"}}`) for automatic secret injection.

Source: entries/2026/05/11/deployments-catbeez-deploy-prod.md

Example

async with automation(
    secret_bindings={
        "community.general.linode_v4": {"access_token": "LINODE_TOKEN"},
        "hetzner.hcloud.*": {"api_token": "HCLOUD_TOKEN"},
    },
) as ftl:
    # Tokens auto-injected when these modules run
    await ftl.community.general.linode_v4(label="web01", type="g6-nanode-1")

JSON