The open source version of the AWS SDK for PHP developer Guide. You can submit feedback & requests for changes by submitting issues in this repo or by making proposed changes & submitting a pull request.
Description of changes:
Current example of cached credentials does not work due to the order in which the default credential provider retrieves credentials. Specifying the cached credentials provider in credentials resolves this behavior. Changed client instantiation statement to keep it consistent with the examples above this one.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes: Current example of cached credentials does not work due to the order in which the default credential provider retrieves credentials. Specifying the cached credentials provider in
credentials
resolves this behavior. Changed client instantiation statement to keep it consistent with the examples above this one.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.