Object Store Quick Start: Difference between revisions

No edit summary
Line 83: Line 83:
+------------+--------------------------------------------------------------------------------------------------+
+------------+--------------------------------------------------------------------------------------------------+
</syntaxhighlight>
</syntaxhighlight>
==== Setting up AWS S3 profile for S3 ====
First, [https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#getting-started-install-instructions install the aws client]. 
And then configure the s3 access for your project Object Store with a '''profile'''  using the  <S3 SECRET KEY>  and <S3 ACCESS KEY> created in the previous step.
Here how to configure a profile.
Append this new profile in
<div class="filename">'''File :''' ~/.aws/config </div>
<syntaxhighlight lang="ini" file="~/.aws/config">
[profile <PROJECT NAME>]
output = json
endpoint_url = https://objets.juno.calculquebec.ca
s3 =
  endpoint_url = https://objets.juno.calculquebec.ca
  signature_version = s3v4
  max_concurrent_requests = 40
s3api =
  endpoint_url = https://objets.juno.calculquebec.ca
ec2 =
  endpoint_url = https://objets.juno.calculquebec.ca
  region = default
</syntaxhighlight>
Then append the follwing:
<div class="filename">'''File :''' ~/.aws/credentials </div>
<syntaxhighlight lang="ini" file="~/.aws/credentials">
[<PROJECT NAME>]
aws_access_key_id = <S3 ACCESS KEY>
aws_secret_access_key = <S3 SECRET KEY>
</syntaxhighlight>
=== Using the Object Store ===
=== Using the Object Store ===
Consider using [[rclone]] to access and work with the Object Store.
Consider using [[rclone]] to access and work with the Object Store.
169

edits