I’m trying to test saving backups to an S3 Storage, Artesca in my case, but can’t get it to work, as there is apparently a problem in my configuration file.
I’ve tried creating a profile with storage set to S3 but upon adding the profile it always end with the following errors:
pbm profile add S3profile /mongodb/pbmbackups/pbmS3/S3profile.yaml
Error: parse config: decode: yaml: unmarshal errors:
line 8: field access_key_id not found in type s3.Config
line 9: field secret_access_key not found in type s3.Config
Here is the config file:
storage:
type: s3
s3:
endpointUrl: <correct_endpoint>
bucket: <correct_bucket_name>
region: us-east-1
credentials:
access_key_id: <correct_access_key>
secret_access_key: <correct_secret_key>
Has anyone had any similar issue? I’m on version 2.7.0.
Any help would be much appreciated.
Thanks.