Anchorage API reference
    Preparing search index...

    The env bindings the guard reads, structurally. A deployment's own Env satisfies this once it declares the DEPLOYMENT_TENANT var and the D1 binding.

    interface DeploymentIdentityEnv {
        DB?: DeploymentIdentityDatabase;
        DEPLOYMENT_IDENTITY_SECRET?: string;
        DEPLOYMENT_TENANT?: string;
    }
    Index

    Properties

    The deployment's D1 database, carrying the sentinel row.

    DEPLOYMENT_IDENTITY_SECRET?: string

    Per-deployment Worker-to-DO credential.

    DEPLOYMENT_TENANT?: string

    The deployment tag, stamped by provisioning.