Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

authentication? #45

Open
joelr opened this issue Nov 18, 2014 · 2 comments
Open

authentication? #45

joelr opened this issue Nov 18, 2014 · 2 comments

Comments

@joelr
Copy link

joelr commented Nov 18, 2014

Hey, I was just wondering how you go about authentication via IAMs with cloudsearch, is this possible?

@zrisher
Copy link

zrisher commented Nov 18, 2014

The 1.0 branch includes document and domain management code that uses the AWS SDK V1, which has built-in IAM credential management. If you're running on EC2 with an assigned IAM role that authentication will be detected automatically, otherwise see the developer docs for AWS SDK V1.

Search is still done directly via HTTP requests, so you'd need to configure your domain to accept requests. ActiveAsari can load this info from your config file and apply it for you over the SDK1, see the docs.

It's my hope that Asari evolves to send all requests over the AWS SDK V2, which can perform both document/domain ops and search ops. It has the same simplified credential management as V1. But we'll probably need to figure out #44 first

@lgleasain
Copy link
Collaborator

I would welcome pull requests to add in IAM support. We had a look at it but for the time being decided to concentrate on other things because we didn't need it.

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

No branches or pull requests

3 participants