Accessing the Arbutus object storage with AWS CLI/en
This page contains instructions on how to set up and access Arbutus object storage with the AWS Command Line Interface (CLI), one of the object storage clients available for this storage type.
Note
Compared to other object storage clients, AWS CLI has better support for large (>5GB) files and the helpful sync command. However, not all features have been tested.
Installing AWS CLI¶
Configuring AWS CLI¶
Generate an access key ID and secret key
Edit or create ~/.aws/credentials and add the credentials generated above
Edit ~/.aws/config and add the following configuration
[plugins]
endpoint = awscli_plugin_endpoint
[profile default]
s3 =
endpoint_url = https://object-arbutus.alliancecan.ca
signature_version = s3v4
s3api =
endpoint_url = https://object-arbutus.alliancecan.ca
Using AWS CLI¶
export AWS_PROFILE=default
aws s3 ls <container-name>
aws s3 sync local_directory s3://container-name/prefix
More examples of using the AWS CLI can be found on this external site.