Is Swift Object Storage compatible with the "standard" aws sdk (v. 2.0) ?
Here my code to create a S3Client:
AwsBasicCredentials awsCreds = AwsBasicCredentials.create(
"accessKeyId",
"secretAccessKey");
client = S3Client.builder()
.credentialsProvider(StaticCredentialsProvider.create(awsCreds))
.region(????)
.build();
I found my accessKeyId and secretAccessKey, but I can't set a proper vaue for "region", because it is NOT a string, but an instance of software.amazon.awssdk.regions.Region class, that has a predefined values only (I think I should pass "gra").
Does that mean I cannot use this sdk? Do I have to use the REST API?
Storage and Backup - Using aws sdk (java 2.x) to access S3/Swift Object Storage
Related questions
- Error while Using Restic to Backup - TooManyRequests
11789
10.05.2022 08:27
- CloudFlare and Public Storage configuration
5469
21.06.2018 10:03
- HA-NAS and Active Directory
4702
30.12.2024 19:44
- Hubic - backups fail from synology nas
4693
13.04.2018 12:54
- Cloud Archive + Rsync
4569
30.03.2018 15:17
- Can't connect to hubic
4094
08.02.2018 18:39
- Hubic on line storage - files download problems
3803
12.02.2018 12:46
- Duplicity S3: Error when calling the HeadBucket operation
3391
09.05.2023 09:20
- Configuring S3 Object Storage with Plesk
3306
07.01.2025 16:32