lincd-filebase
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Setting environment variables

To use a FilebaseStore in your application, set the following environment variables

  • AWS_ACCESS_KEY_ID - The Access Key ID given when generating a new access key for your Bucket
  • AWS_SECRET_ACCESS_KEY - The Secret Access Key given when generating a new access key for your Bucket
  • S3_BUCKET_ENDPOINT - OPTIONAL - The endpoint on which your bucket is hosted. This will default to https://s3.filebase.com
  • S3_BUCKET_NAME - An arbitrary name for your Bucket

Run npm exec lincd-filebase sign -- -h to see info about the options.

Example:

yarn lincd-filebase sign -- -key mykey -secret mysecret -bucket mybucketname -name objectkey

You can then copy the resulting two URLs and use them in your application to create a FileBaseStore.

Package Sidebar

Install

npm i lincd-filebase

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

62.1 kB

Total Files

58

Last publish

Collaborators

  • rene_reborn