...
Code Block |
---|
language | text |
---|
title | credentials |
---|
linenumbers | true |
---|
|
URL:PORT => https://hssrv2.dmawi.de:635
region/location => bhv
ACCESS_KEY => HPC_user
SECRET_KEY => t1H13sOUBD/H7NuL
CERTS_FILE => https://spaces.awi.de/download/attachments/494210152/HSM_S3gw.cert.pem |
These credentials needs are to be adapted for each of the clients as they fit accordingly.
Please make sure to download the certificate file.
aws
Use aws configure
to adapt the credentials to this tool or create the following files.
...
Code Block |
---|
language | text |
---|
title | ~/.aws/config |
---|
linenumbers | true |
---|
|
[default]
region = bhv
endpoint_url = https://hssrv2.dmawi.de:635
ca_bundle = ${HOME}/Users/pasili001/Downloads/HSM_S3gw.cert.pem # < CORRECT ME >. using tilde (~) or $HOME in path does *NOT* work. |
Listing the buckets
Code Block |
---|
language | bash |
---|
title | listings |
---|
linenumbers | true |
---|
|
> aws s3 ls
2024-04-06 01:11:30 testdir
> aws s3 ls s3://testdir
2024-04-06 01:11:30 385458 tmp.csv |
...
Code Block |
---|
language | text |
---|
title | ~/.s3cfg |
---|
linenumbers | true |
---|
|
[default]
host_base = https://hssrv2.dmawi.de:635
host_bucket = https://hssrv2.dmawi.de:635
bucket_location = bhv
access_key = HPC_user
secret_key = t1H13sOUBD/H7NuL
use_https = Yes
#checkca_sslcerts_certificatefile = False /Users/pasili001/Downloads/HSM_S3gw.cert.pem. # < CORRECT ME > |