Not sure which section of the community my problem resides in, but I am having issues with authenticating
I am decrypting my AWS credentials from a repo and exporting it to the SHELL environment variables using the following command:
export $(grep -v '^#' /codefresh/volume/production) -
production are my AWS creds.
However, when I run
aws s3 ls, I am getting the following error:
An HTTP Client raised and unhandled exception: Invalid header value b'AWS4-HMAC-SHA256 Credential=xxx\r/20191108/us-east-1/s3/aws4_request, Sign edHeaders=host;x-amz-content-sha256;x-amz-date, Signature=xxx'
I did some Googling around, some users are saying it could be related to whitespace issue, and some are saying you can’t have issue. I checked my files, none of them have newlines or whitespaces at the end of the file.