We use AWS instance profiles to authenticate the application with S3 (instead of hardcoding AWS credentials). This is supported by the AWS PHP-API and also works, but requires us to not set any credential. Our first try we did that, but stumbled over dummy credentials:
which solved the mystery. So a suggestion: remove these hardcoded dummy values, maybe just keep them commented out so we don't need to override them if not required.
We use AWS instance profiles to authenticate the application with S3 (instead of hardcoding AWS credentials). This is supported by the AWS PHP-API and also works, but requires us to not set any credential. Our first try we did that, but stumbled over dummy credentials:
We didn't noticed that at first and were debugging why the access was being denied, until we did a:
which solved the mystery. So a suggestion: remove these hardcoded dummy values, maybe just keep them commented out so we don't need to override them if not required.