Add aws profile arn in elastic keystore

How can I add the profile arn into the elastic keystore since there is already a way to add the s3 access key and secret key. This is regarding the snapshots with s3 repositry.
I have followed the steps as given here
https://www.elastic.co/guide/en/elasticsearch/plugins/7.5/repository-s3-client.html
But infrastructure that we have requires me to jump into a role to access s3 buckets.
When i try to create a snapshot repository using put request I'm getting this
"Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied;

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