brows3r — TypeScript API
    Preparing search index...

    Function crossAccountConfirm

    • Mint a one-time confirmation token for a large cross-account copy.

      Call this after objectCopy returns AppError { kind: "Validation", details.field: "confirmed_token" }. The returned token is bound to the given (profileId, source, destination) scope and expires after 5 minutes. Pass it back to objectCopy as confirmedToken.

      Parameters

      • profileId: string

        The profile whose credentials to use.

      • source: ObjectRef

        Source bucket + key (must match the failed copy call).

      • destination: ObjectRef

        Destination bucket + key (must match the failed copy call).

      Returns Promise<string>

      • A single-use confirmation token string (UUID v4).