cc_staff
172
edits
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables. | Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables. | ||
Access Key []: | Access Key []: 20_DIGIT_ACCESS_KEY | ||
Secret Key []: | Secret Key []: 40_DIGIT_SECRET_KEY | ||
Default Region [US]: | Default Region [US]: | ||
Use "s3.amazonaws.com" for S3 Endpoint and not modify it to the target Amazon S3. | Use "s3.amazonaws.com" for S3 Endpoint and not modify it to the target Amazon S3. | ||
S3 Endpoint []: | S3 Endpoint []: object-arbutus.cloud.computecanada.ca | ||
Use "%(bucket)s.s3.amazonaws.com" to the target Amazon S3. "%(bucket)s" and "%(location)s" vars can be used | Use "%(bucket)s.s3.amazonaws.com" to the target Amazon S3. "%(bucket)s" and "%(location)s" vars can be used | ||
if the target S3 system supports dns based buckets. | if the target S3 system supports dns based buckets. | ||
DNS-style bucket+hostname:port template for accessing a bucket []: | DNS-style bucket+hostname:port template for accessing a bucket []: object-arbutus.cloud.computecanada.ca | ||
Encryption password is used to protect your files from reading | Encryption password is used to protect your files from reading | ||
by unauthorized persons while in transfer to S3 | by unauthorized persons while in transfer to S3 | ||
Encryption password []: | Encryption password []: PASSWORD | ||
Path to GPG program []: | Path to GPG program []: /usr/bin/gpg | ||
When using secure HTTPS protocol all communication with Amazon S3 | When using secure HTTPS protocol all communication with Amazon S3 | ||
servers is protected from 3rd party eavesdropping. This method is | servers is protected from 3rd party eavesdropping. This method is | ||
slower than plain HTTP, and can only be proxied with Python 2.7 or newer | slower than plain HTTP, and can only be proxied with Python 2.7 or newer | ||
Use HTTPS protocol []: | Use HTTPS protocol []: Yes | ||
On some networks all internet access must go through a HTTP proxy. | On some networks all internet access must go through a HTTP proxy. | ||
Line 78: | Line 78: | ||
<code>$ s3cmd put --guess-mime-type FILE_NAME.dat s3://BUCKET_NAME/FILE_NAME.dat</code> | <code>$ s3cmd put --guess-mime-type FILE_NAME.dat s3://BUCKET_NAME/FILE_NAME.dat</code> | ||
Where the bucket name and the file name are specified. Multipurpose Internet Mail Extensions (MIME) is a mechanism for handling files. The <code>--guess-mime-type</code> command parameter will guess the MIME type based on the file extension. The default MIME type is <code>binary/octet-stream</code>. | Where the bucket name and the file name are specified. Multipurpose Internet Mail Extensions (MIME) is a mechanism for handling files based on their type. The <code>--guess-mime-type</code> command parameter will guess the MIME type based on the file extension. The default MIME type is <code>binary/octet-stream</code>. | ||
=== ACLs and Policies === | === ACLs and Policies === |