-
Notifications
You must be signed in to change notification settings - Fork 34
Quickstart
Ben McClelland edited this page Mar 9, 2024
·
5 revisions
Download a release binary from Releases
This assumes you have a Go compiler installed
- Clone repo
git clone https://github.com/versity/versitygw.git
- Build project
cd versitygw
make
mkdir /tmp/gw
Set the root account credentials with the ROOT_ACCESS_KEY and ROOT_SECRET_KEY environment variables. These can alternatively be set with --access
and --secret
cli options.
Examples:
ROOT_ACCESS_KEY=myaccess ROOT_SECRET_KEY=mysecret ./versitygw posix /tmp/gw
versitygw --access myaccess --secret mysecret posix /tmp/gw
Set client credentials to root account.
export AWS_ACCESS_KEY_ID=myaccess
export AWS_SECRET_ACCESS_KEY=mysecret
Create a bucket. Replace 127.0.0.1
with server IP if gateway running on different host.
aws --endpoint-url http://127.0.0.1:7070 s3 mb s3://mybucket
Upload a file "localfile" to the S3 gateway calling it "/test/file" within the bucket we just created.
aws --endpoint-url http://127.0.0.1:7070 s3 cp localfile s3://mybucket/test/file
- Home
- User:
- Quickstart
- System Requirements
- Install
- Workflow
- Global Options
- TLS
- HA/Load Balancing
- Event Notifications
- Docker
- PreSignedURL
- Multi-Tenant/IAM
- Example Client Configs
- Metrics
- Admin APIs
- Backends:
- Logging:
- Developer:
- Articles: