Uppy AWS S3 Plugin
Learn how to configure the Uppy AWS S3 Plugin for use with Filebase.
What is Uppy?
1. Install the Uppy AWS S3 plugin and the Uppy Companion plugin:
2. If using a stand-alone Uppy server, set the following environment variables:
export COMPANION_AWS_KEY="FILEBASE_ACCESS_KEY"
export COMPANION_AWS_SECRET="FILEBASE_SECRET_KEY"
# Alternative to set secret via file instead of environment variable:
export COMPANION_AWS_SECRET_FILE="PATH/TO/FILEBASE/SECRET/FILE"
export COMPANION_AWS_ENDPOINT="s3.filebase.com"
export COMPANION_AWS_BUCKET="FILEBASE_BUCKET_NAME"
export COMPANION_AWS_REGION="US_EAST_1"3. To use Uppy Companion with an existing server, call the server’s .app method and pass an options object as a parameter with the following code:
.app method and pass an options object as a parameter with the following code:Last updated