Add support for AWS elasticsearch request signing

It would be nice for those of us using aws elasticsearch if we could sign requests made to elasticsearch. This just gives us an extra level of security where we’re able to authorize which machines are able to access our elasticsearch cluster based on IAM role.

It looks like the elasticsearch library temporal is using supports this, we would just have to allow it to be configured this way. See elastic/main.go at release-branch.v6 · olivere/elastic · GitHub for an example of how they connect.

You can read about signing requests in the aws documentation here: Signing HTTP requests to Amazon OpenSearch Service - Amazon OpenSearch Service

2 Likes