Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Former userFormer user(Deactivated)Sprint
NoneFix versions
Priority
Minor
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Former user
Former user(Deactivated)Sprint
None
Fix versions
Priority
Created April 4, 2019 at 9:53 PM
Updated October 8, 2020 at 12:30 PM
Resolved September 29, 2020 at 12:09 PM
The hibernate-search-elasticsearch-aws module signs requests to AWS Elasticsearch instances, but only if we directly declare the aws secret and access keys as properties at startup.
When running on an EC2 instance its recommended to use the role provided by the EC2 instance using their provided roles that use temporary credentials https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html . `AWSCredentialsProvider` from the aws java sdk abstracts that in a friendly way.
It would be great if we could provide an instance of `AWSCredentialsProvider` to hibernate search at startup so that it can use that for signing the elastic search requests.