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

Add params for AwsAuthV4 transport method #1151

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

rairlie
Copy link

@rairlie rairlie commented Oct 3, 2016

Elastica supports the AwsAuthV4 transport method as of ruflin/Elastica/pull/1056, however FOSElasticaBundle doesn't allow the parameters to be passed down to the client. This PR adds this.

Example configuration:

fos_elastica:
    clients:
        default:
            url: "http://my-aws-endpoint"
            transport: "AwsAuthV4"
            aws_access_key_id: "my-aws-access-key"
            aws_secret_access_key: "my-aws-secret-access-key"
            aws_region: "my-aws-region"

Fixes /issues/1060

@XWB
Copy link
Member

XWB commented Oct 4, 2016

@rairlie
Copy link
Author

rairlie commented Oct 4, 2016

Sure, now added.

@XWB XWB merged commit 6c7a0fd into FriendsOfSymfony:master Oct 4, 2016
@XWB
Copy link
Member

XWB commented Oct 4, 2016

Thanks.

@mauricoder
Copy link

Shouldn't this piece of information, on how to setup the Bundle to connect to AWS ElasticSearch authenticating with an IAM User, be part of the Bundle documentation?

We struggled a lot to find this information. Maybe it's there but we didn't see it.

I refer to documentation here:

https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/index.md

Thanks

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

Successfully merging this pull request may close these issues.

3 participants