{"data":{"id":"ACSD-47657","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Added a caching mechanism for AWS credentials. A credentials provider now uses the Magento cache to cache credentials retrieved from AWS for EC2 configuration.","categories":["Cache"],"components":["magento/module-aws-s3"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-39/acsd-47657-adds-a-caching-mechanism-for-aws-credentials","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-39/acsd-47657-adds-a-caching-mechanism-for-aws-credentials.md","blobSha":"7b309bb0f81354808da5a2831ee241b39359c6f0","description":"Adding a caching mechanism for AWS credentials retrieved from AWS for EC2 configuration.","stepsToReproduce":"1. Enable AWS S3 bucket storage for the Adobe Commerce: bin/magento setup:config:set --remote-storage-driver=\"aws-s3\" --remote-storage-bucket=\"magentopubmedia-prod\" --remote-storage-region=\"aws-west\" --no-interaction bin/magento config:set system/media_storage_configuration/media_database 0 bin/magento cache:flush 1. Run Synchronization: bin/magento remote-storage:sync","introducedInQpt":"1.1.39","createdFor":["2.4.4"],"documentedRange":"2.4.4 - 2.4.6-p3","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.4 <2.4.4-p12 || >=2.4.5 <2.4.5-p11 || >=2.4.6 <2.4.7","path":"patches/os/ACSD-47657_2.4.4.patch","blobSha":"0c3bb492b514d8314999873cfdbb2987ddbeb51f","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-47657_2.4.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-aws-s3/Driver/AwsS3Factory.php","change":"modified","package":"magento/module-aws-s3"},{"path":"vendor/magento/module-aws-s3/Driver/CachedCredentialsProvider.php","change":"added","package":"magento/module-aws-s3"},{"path":"vendor/magento/module-aws-s3/Driver/CredentialsCache.php","change":"added","package":"magento/module-aws-s3"}],"packages":["magento/module-aws-s3"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/system.log","match":"report.CRITICAL: Aws\\Exception\\CredentialsException: Error retrieving credentials from the instance profile metadata service. (cURL error 28: Connection timed out"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-47657 details"}