0.13.0 • Published 8 months ago

@rn-buildhub/s3-storage v0.13.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

npm package link

@rn-buildhub/s3-storage

@rn-buildhub/s3-storage is a crucial extension for React Native Build Hub, providing seamless integration with AWS S3 for distributed caching.

Setup

Kickstart your setup with:

yarn add @rn-buildhub/s3-storage
npm i @rn-buildhub/s3-storage

Configuration Details

Both Environment variables and rn-buildhub.json can be used for plugin settings. Here are the options available:

ParameterDescriptionEnvironment Variable / .envrn-buildhub.json
Access Key IdAWS Access Key Id.RNBH_AWS_ACCESS_KEY_IDawsAccessKeyId
Secret Access KeyAWS Secret Access Key.RNBH_AWS_SECRET_ACCESS_KEYawsSecretAccessKey
RegionAWS region for your S3 bucket.RNBH_AWS_REGIONawsRegion
BucketS3 Bucket (and optional sub-path) for cache storage.RNBH_AWS_BUCKETawsBucket
ProfileUse when Access Key Id and Secret Access Key are not provided.RNBH_AWS_PROFILEawsProfile
EndpointOptional custom endpoint, like MinIO.RNBH_AWS_ENDPOINTawsEndpoint
Force Path StyleForce path style URLs for S3 objects (needed for MinIO).RNBH_AWS_FORCE_PATH_STYLEawsForcePathStyle

Important: Environment variables take precedence over rn-buildhub.json options!

Remember, .env files can set your environment variables. dotenv documentation can guide you.

Guides

🔗 How to create and configure an AWS S3 bucket

See Also

PackageStorage
@rn-buildhub/azure-storageAzure Cloud Platform
@rn-buildhub/gcp-storageGoogle Cloud Platform
@rn-buildhub/storage-interfaceAbstract storage
0.12.0

8 months ago

0.13.0

8 months ago

0.11.0

11 months ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago