Closed tokarev-artem closed 7 months ago
@RealArtemiy Hi, thanks for trying out this library!
Could you please see what happens if you remove the AWS_ACCESS_KEY
and AWS_SECRET_ACCESS_KEY
from your .env
file? Instead of just clearing the values, you might need to completely delete the entries.
While your situation may differ, I sometimes connect locally using AWS SSO. In these instances, I add the AWS_PROFILE
above the others. If the AWS_ACCESS_KEY
and AWS_SECRET_ACCESS_KEY
are not present, the AWS SDK automatically tries other authentication methods. For me, it checks the ~/.aws
directory.
Thanks for your answer, you're right, we missed to remove empty AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY parameters from .env
Hello, thanks for the library, works like a charm. I have an ecs container with laravel. Attached a role with dynamodb permissions I need, but looks like the library requires static AWS credentals and can't use IAM role.
Logs:
File: config/database.php
aws environment variables
aws cli command to get dynamodb access
Could you let me know, maybe I use it incorrectly. Didn't find anything about this issue in the documentation. Thanks