[Messenger][SQS] How to initialize SqsClient with EcsCredentialProvider
#63960
-
|
I want to migrate a custom messenger implementation to symfony/messenger. We are using From what I found in the code Which initializes an Currently, we use a This will get configured magically. Does anyone have a similar setup ? I could not manage to find information on how to set this up properly. Maybe I'm overthinking this and it will work first try. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
async-aws wires its |
Beta Was this translation helpful? Give feedback.
async-aws wires its
AsyncAws\Core\Credentials\ContainerProvider(which is the equivalent of theAws\Credentials\EcsCredentialProviderofaws/aws-sdk-php) as part of the default chain provider. So there is nothing to wire. It will just work.