Socket
Book a DemoInstallSign in
Socket

blobby-s3

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blobby-s3

An S3 client for Blobby, powered by Knox

1.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

blobby-s3

An S3 client for Blobby, powered by AWS S3.

Options

# config/local.json5
{
  storage: {
    app: {
      options: {
        endpoint: 'https://s3.amazonaws.com',
        accessKeyId: 'myAccessKey',
        secretAccessKey: 'mySecretKey',
        s3ForcePathStyle: false,
        s3BucketEndpoint: false,
        bucketPrefix: 'myBucket', // myBucket1-100
        bucketStart: 1,
        bucketEnd: 100
      }
    }
  }
}

See AWS S3 for full options list: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property

OptionTypeDefaultDesc
endpointstring"https://s3.amazonaws.com"Endpoint of S3-compatible service
accessKeyIdstring(required)Access key
secretAccessKeystring(required)Secret
s3ForcePathStylebooltrueForce path style
s3BucketEndpointboolfalseFalse if endpoint is the root API, not the bucket endpoint
bucketPrefixstring(required)Prefix of the final bucket name
bucketStartnumberfalseIf valid number, files will be sharded across buckets ranging from bucketStart to bucketEnd
bucketEndnumberfalseIf valid number, files will be sharded across buckets ranging from bucketStart to bucketEnd

Secrets

Recommended to store your secret in blobby's Secure Configuration.

Sharding

Your needs may vary, but leveraging bucketStart and bucketEnd to shard your directories across multiple buckets is recommended to avoid scaling limitations, be it storage, throughput, or otherwise. Even Amazon AWS S3 has per-bucket limitations.

Initializing

If you plan to leverage Sharding, you can run blobby's initialize command to pre-create the buckets for you to save time.

blobby initialize

FAQs

Package last updated on 25 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.