Skip to main content

B2 Account

@sntxrr/b2-accountv2026.08.05.1· 1d agoMODELS
01README

Inventory a Backblaze B2 account — one read-only scan method emits a resource per bucket and per application key, plus a summary, via the B2 Native API v4.

02Release Notes

First release. Read-only inventory of a Backblaze B2 account via the Native API v4: one scan drains buckets and application keys into per-object resource snapshots. Never writes a secret into a snapshot.

03Models1
@sntxrr/b2/accountv2026.08.05.1b2_account.ts

Global Arguments

ArgumentTypeDescription
applicationKeyIdstringB2 application key ID (master or scoped). Needs the listBuckets and
applicationKeystringB2 application key — supply via vault.get(), never inline.
authHost?stringOverride the B2 authorize host (testing only). Defaults to
fn scan(bucketTypes?: array, maxKeyCount?: number, maxKeyPages?: number)
Factory discovery — inventory every bucket and application key in the B2 account, plus an account summary (read-only).
ArgumentTypeDescription
bucketTypes?arrayFilter b2_list_buckets to these bucket types, e.g.
maxKeyCount?numberApplication keys requested per b2_list_keys page (B2 max 10000, B2
maxKeyPages?numberHard cap on b2_list_keys pages. Defaults to 50. Hitting the cap sets

Resources

bucket(infinite)— Snapshot of one B2 bucket, instance-named bucket-<bucketName>
key(infinite)— Snapshot of one B2 application key, instance-named key-<applicationKeyId>
account(infinite)— Account-level summary of one scan (counts and completeness), instance-named account-<accountId>
04Stats
A
100 / 100
Downloads
0
Archive size
19.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels