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 support for 'aws_credential_provider' #1865

Merged

Conversation

annuh
Copy link
Contributor

@annuh annuh commented Apr 13, 2022

Fixes #1596

This adds support for the aws_credential_provider setting in Elastica, which was added in ruflin/Elastica#1667

Example usage:

// config/packages/fos_elastica.yaml
fos_elastica:
    clients:
        default:
            host: '%env(ELASTICSEARCH_HOST)%'
            port: '%env(ELASTICSEARCH_PORT)%'
            transport: "AwsAuthV4"
            aws_region: "eu-central-1"
            aws_credential_provider: 'aws.credentials_provider'

services:

    Aws\Credentials\CredentialProvider:
    aws.credentials_provider:
        class: 'Aws\Credentials\CredentialProvider'
        factory: [ '@Aws\Credentials\CredentialProvider', 'defaultProvider' ]

@annuh annuh marked this pull request as ready for review April 13, 2022 19:20
@XWB XWB merged commit b8d71ea into FriendsOfSymfony:master Jul 20, 2022
@XWB
Copy link
Member

XWB commented Jul 20, 2022

👍

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.

Add support for Elastica's aws_credential_provider parameter
2 participants