Add s3 backend to help, fixes #4219 (#4221)

* Add s3 backend to help, fixes #4219

* Add samples for Gateway usage with S3
master
Remco Verhoef 8 years ago committed by Dee Koder
parent 2b78444056
commit 5016649f47
  1. 11
      cmd/gateway-main.go

@ -38,6 +38,7 @@ FLAGS:
{{end}}{{end}}
BACKEND:
azure: Microsoft Azure Blob Storage. Default ENDPOINT is https://core.windows.net
s3: Amazon Simple Storage Service (S3).
ENVIRONMENT VARIABLES:
ACCESS:
@ -49,6 +50,16 @@ EXAMPLES:
$ export MINIO_ACCESS_KEY=azureaccountname
$ export MINIO_SECRET_KEY=azureaccountkey
$ {{.HelpName}} azure
2. Start minio gateway server for S3 backend.
$ export MINIO_ACCESS_KEY=accesskey
$ export MINIO_SECRET_KEY=secretkey
$ {{.HelpName}} s3
3. Start minio gateway server for S3 backend on custom endpoint.
$ export MINIO_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F
$ export MINIO_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
$ {{.HelpName}} s3 https://play.minio.io:9000
`
var gatewayCmd = cli.Command{

Loading…
Cancel
Save