Skip to content

Conversation

@rzarzynski
Copy link

The patch introduces new CLI argument "--endpoint [domain]"
in order to improve interoperability with S3-clones like
Ceph RADOS Gateway. If supplied, the URL will be treated in
similar manner as it would be in case of manually appending
"domain" to the "endpoints" list at the begging of s3curl.pl.

Optional parameter "domain" allows for virtual-hosted–style
URLs in case of suppling endpoint via CLI. If specified, s3curl
will be aware which part of a given URL constitutes bucket name.

If "domain" is omitted, host name extracted from first URL
provided to s3curl will be used.

Usage example (listing content of a bucket):

s3curl.pl --id personal --endpoint localhost --
-s -v http://bucket.localhost:8080

The patch introduces new CLI argument "--endpoint [domain]"
in order to improve interoperability with S3-clones like
Ceph RADOS Gateway. If supplied, the URL will be treated in
similar manner as it would be in case of manually appending
"domain" to the "endpoints" list at the begging of s3curl.pl.

Optional parameter "domain" allows for virtual-hosted–style
URLs in case of suppling endpoint via CLI. If specified, s3curl
will be aware which part of a given URL constitutes bucket name.

If "domain" is omitted, host name extracted from first URL
provided to s3curl will be used.

Usage example (listing content of a bucket):

  s3curl.pl --id personal --endpoint localhost -- \
    -s -v http://bucket.localhost:8080
@rzarzynski rzarzynski changed the title Add support for enforcing vanity of provided URL. Add support for enforcing endpoint from command line. Apr 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant