Although the underlying AWS SDK deals correctly with credentials from the EC2 instance profile, it does not work with IAM roles when working outside AWS
The provider could take an iam_role parameter and deals with aws sts under the hood to generate temporary AWS credentials (cf. https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_temporary.html)
Although the underlying AWS SDK deals correctly with credentials from the EC2 instance profile, it does not work with IAM roles when working outside AWS
The provider could take an
iam_roleparameter and deals with aws sts under the hood to generate temporary AWS credentials (cf. https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_temporary.html)