Can't able to connect s3 through repository-s3 using service account role

Hi Team,
Can't able to connect s3 through repository-s3 using service account role.

PUT /_snapshot/xxxxxxx
{ "type": "s3", "settings": { "bucket": "xxxxxxx", "allow_insecure_settings": "false","protocol": "https", "endpoint": "s3.xxxxx.amazonaws.com" }
}

This is the error response I get.

"error" : {
"root_cause" : [
{
"type" : "repository_verification_exception",
"reason" : "[infra_snapshot123] path is not accessible on master node"
}
],
"type" : "repository_verification_exception",
"reason" : "[infra_snapshot123] path is not accessible on master node",
"caused_by" : {
"type" : "i_o_exception",
"reason" : "Unable to upload object [tests-OCPjXtarRTyfMeF3yrb31g/master.dat] using a single upload",
"caused_by" : {
"type" : "amazon_s3_exception",
"reason" : "amazon_s3_exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 66T6YC5BKWMQRWFZ; S3 Extended Request ID: jPRDDcOW0dg/TBZ98HlWEv+rxa8M5U5fK08u8aG3f8RUxeZDFFS1ZI1trpbFa7KyFh9zhiIoWTc=)"
}
}
},
"status" : 500

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.