@backblaze-labs/b2-sdk - v0.2.0
    Preparing search index...

    Interface AllowedInfo

    Describes the capabilities and scope restrictions of an authorized application key.

    interface AllowedInfo {
        bucketId: BucketId | null;
        bucketName: string | null;
        buckets: readonly AllowedBucket[] | null;
        capabilities: readonly Capability[];
        namePrefix: string | null;
    }
    Index

    Properties

    bucketId: BucketId | null

    Bucket ID this key is restricted to when it has exactly one bucket, or null if unrestricted or multi-bucket.

    The SDK normalizes this compatibility alias from v4 buckets; use buckets instead.

    bucketName: string | null

    Bucket name this key is restricted to when it has exactly one bucket, or null if unrestricted, multi-bucket, or unknown.

    The SDK normalizes this compatibility alias from v4 buckets; use buckets instead.

    buckets: readonly AllowedBucket[] | null

    Bucket restrictions for v4 authorization, or null if unrestricted.

    capabilities: readonly Capability[]

    List of capabilities granted to this key.

    namePrefix: string | null

    File name prefix this key is restricted to, or null if unrestricted.