serverless-apigateway-service-proxy icon indicating copy to clipboard operation
serverless-apigateway-service-proxy copied to clipboard

Open Search Support

Open windbeneathyourwings opened this issue 4 years ago • 3 comments

I would like to request support for open search.

https://aws.amazon.com/opensearch-service/

Thanks

windbeneathyourwings avatar Feb 19 '22 15:02 windbeneathyourwings

It is unfortunate that I don't believe aws supports modifying opensearch.yml or supporting the http security configuration changes like for cors.

https://opensearch.org/docs/latest/security-plugin/configuration/yaml/

So the only way to communicate with open search in the browser is to use a proxy. However, this not true of other services like s3 where cors can be enabled.

ng-druid avatar Feb 19 '22 16:02 ng-druid

I posted a question on aws repost directly related this.

https://repost.aws/questions/QUOa2Pl7cbQDKFHZ7Z_Est6g/open-search-service-cors-support

ng-druid avatar Feb 19 '22 16:02 ng-druid

This isn't necessary. I was incorrect about being able to communicate directly with open search in the browser. It can be done by disabling checksum on the payload when signing the request.

windbeneathyourwings avatar Feb 25 '22 04:02 windbeneathyourwings