I'm trying to configure AWS S3 repository for backups but facing access issues to the S3 bucket.
I did the following steps:
- Installed repository-s3 plugin on all cluster nodes
- restarted all nodes after the plugin installation
- I'm using elasticsearch-keystore to configure the credentials for S3, I have set up both s3.client.default.access_key and s3.client.default.secret_key.
- Configuring the repository through Kibana and getting this error when I'm trying to test the repository:
Seems that it tries to get the credentials from attached IAM role rather than using the credentials in the keystore.
How can I make it consider the keystore configuration?