Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbidden when connecting to AWS ES with IAM #962

Closed
bubenkoff opened this issue Nov 8, 2018 · 3 comments
Closed

Forbidden when connecting to AWS ES with IAM #962

bubenkoff opened this issue Nov 8, 2018 · 3 comments
Milestone

Comments

@bubenkoff
Copy link

using the approach from https://github.com/olivere/elastic/blob/release-branch.v6/recipes/aws-connect-v4/main.go
I'm getting 403 forbidden
while with https://github.com/sha1sum/aws_signing_client it connects fine

Which version of Elastic are you using?

[X ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)

Please describe the expected behavior

using the approach from https://github.com/olivere/elastic/blob/release-branch.v6/recipes/aws-connect-v4/main.go

expecting the successfull calls

Please describe the actual behavior

Getting 403 Forbidden when calling the service

Any steps to reproduce the behavior?

https://github.com/olivere/elastic/blob/release-branch.v6/recipes/aws-connect-v4/main.go

@olivere
Copy link
Owner

olivere commented Nov 19, 2018

Sorry for the delay. I'm on a business trip right now and don't have the ability to spin up an AWS cluster right now. Didn't forget about it…

@olivere olivere added this to the 6.2.14 milestone Nov 28, 2018
@olivere
Copy link
Owner

olivere commented Nov 29, 2018

I finally had the time to figure out what was going on here. This should be fixed in 6.2.14, and I've successfully tested it on a live AWS Elasticsearch service cluster. I've added a new aws-mapping-v4 recipe for testing on AWS Elasticsearch service.

@wesleyk
Copy link
Contributor

wesleyk commented Dec 4, 2018

👏 👏 👏 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants