Accessing object storage with s3cmd: Difference between revisions

Jump to navigation Jump to search
merged relevant content in configuring page
(merged relevant content in configuring page)
Line 105: Line 105:


Other more sophisticated examples can be found in the s3cmd [https://www.s3express.com/help/help.html help site] or s3cmd(1) man page.
Other more sophisticated examples can be found in the s3cmd [https://www.s3express.com/help/help.html help site] or s3cmd(1) man page.
== Connection details and <tt>s3cmd</tt> configuration ==
Object storage is accessible via an HTTPS endpoint:
<code>object-arbutus.cloud.computecanada.ca:443</code>
The following is an example of a minimal s3cmd configuration file. You will need these values, but are free to explore additional s3cmd configuration options to fit your use case. Note that in the example the keys are redacted and you will need to replace them with your provided key values:
<pre>[default]
access_key = <redacted>
check_ssl_certificate = True
check_ssl_hostname = True
host_base = object-arbutus.cloud.computecanada.ca
host_bucket = object-arbutus.cloud.computecanada.ca
secret_key = <redacted>
use_https = True
</pre>
<!--T:24-->
Using s3cmd's <code>--configure</code> feature is [[Arbutus object storage clients#Configuring_s3cmd | described here]].


= Example operations on a bucket =
= Example operations on a bucket =
cc_staff
147

edits

Navigation menu