Storing AWS keys as Cloud Manager secret Environment Variables - not working
- September 7, 2022
- 1 reply
- 254 views
Hello,
I am trying to securely store the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in order to upload some report html files to a s3 bucket as a postbuild action after executing the UI tests (Custom UI Testing pipeline step). I have added them as secrets at the environment level as per the official documentation: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/environment-variables.html?lang=en .
However, when reaching that phase of uploading the files to the s3 bucket, I get "Unable to locate credentials" error.
Hardcoding the keys as env vars in the dockerfile of the ui.tests, is working fine but I need to securely store the keys in our framework.
Any help is appreciated. Thanks in advance!
