Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

alukach/multistore

Repository files navigation

MultiStore

MultiStore is an application to easily create an S3-compliant API for one-or-many object store backends.

The system could be utilized to...

  1. create custom access credentials (distinct from AWS credentials) to be given out to grant access
  2. collect detailed usage metrics
  3. gate access to datasets
  4. bill users for dataset access

Development

Running Hyper API

cargo run --bin hyper-api

Running Cloudflare Workers API

npx wrangler dev --cwd examples/cf-workers-api

Running Lambda API

Lambda execution makes use of the aws-lambda-rust-runtime.

cargo lambda watch --bin lambda-api

Accessing the API

export AWS_MAX_ATTEMPTS=1
export AWS_EC2_METADATA_DISABLED=true
export ENDPOINT_URL=http://localhost:9000/lambda-url/lambda-api
export AWS_ACCESS_KEY_ID=foo 
export AWS_SECRET_ACCESS_KEY=bar
aws \
--endpoint-url ${ENDPOINT_URL} \
--no-cli-pager \
s3api list-buckets

About

A generic S3 api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

AltStyle によって変換されたページ (->オリジナル) /