Skip to content

Commit

Permalink
Merge pull request #784 from mozawa/configure-endpoint
Browse files Browse the repository at this point in the history
Added the  "host_base" and "host_bucket" options for run-configure.
  • Loading branch information
fviard committed Sep 9, 2016
2 parents 5552763 + 7c1943e commit 89dccc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions s3cmd
Expand Up @@ -2163,6 +2163,8 @@ def run_configure(config_file, args):
("access_key", "Access Key", "Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables."),
("secret_key", "Secret Key"),
("bucket_location", "Default Region"),
("host_base", "S3 Endpoint", "Use \"s3.amazonaws.com\" for S3 Endpoint and not modify it to the target Amazon S3."),
("host_bucket", "DNS-style bucket+hostname:port template for accessing a bucket", "Use \"%(bucket)s.s3.amazonaws.com\" to the target Amazon S3. \"%(bucket)s\" and \"%(location)s\" vars can be used\nif the target S3 system supports dns based buckets."),
("gpg_passphrase", "Encryption password", "Encryption password is used to protect your files from reading\nby unauthorized persons while in transfer to S3"),
("gpg_command", "Path to GPG program"),
("use_https", "Use HTTPS protocol", "When using secure HTTPS protocol all communication with Amazon S3\nservers is protected from 3rd party eavesdropping. This method is\nslower than plain HTTP, and can only be proxied with Python 2.7 or newer"),
Expand Down

0 comments on commit 89dccc8

Please sign in to comment.