Beignet API reference
    Preparing search index...

    Options for creating an env-backed Vercel Blob storage provider.

    interface VercelBlobStorageProviderOptions {
        access?: StorageVisibility;
        createClient?: (config: VercelBlobConfig) => VercelBlobClient;
        keyPrefix?: string;
        name?: string;
        storeId?: string;
        token?: string;
    }

    Hierarchy

    Index

    Store-wide access level applied to every object.

    Vercel Blob stores per-object access at write time but does not report it back from head(...), so this adapter keeps the whole store uniform: writes that request a different visibility are rejected with an error instead of silently misreporting visibility on later reads. Run two providers over two stores when an app needs both levels.

    "private"
    
    createClient?: (config: VercelBlobConfig) => VercelBlobClient

    Optional client factory for tests or custom SDK wiring.

    keyPrefix?: string

    Prefix all object keys before sending them to the store.

    name?: string

    Provider name. Defaults to "storage-vercel-blob".

    storeId?: string

    Blob store id used with Vercel OIDC authentication. Passed explicitly to every SDK operation instead of relying on process-global env state.

    token?: string

    Read-write token. Omit to let @vercel/blob read BLOB_READ_WRITE_TOKEN from the environment.