Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters in the secret key cause failures #21

Open
martinstreicher opened this issue Mar 1, 2016 · 3 comments
Open

Special characters in the secret key cause failures #21

martinstreicher opened this issue Mar 1, 2016 · 3 comments

Comments

@martinstreicher
Copy link

(This is not necessarily a bug in S3 CLI, but the bug does affect it.)

If the AWS secret key contains a special character (in my case, a [), the s3-cli commands do not work. Instead, the commands yield the error, Error: The request signature we calculated does not match the signature you provided. Check your key and signing method.

To work around the problem, issue yourself a new access key/secret key pair, where the latter does not have any special characters.

@martinstreicher
Copy link
Author

See aws/aws-cli#602

@guyappy
Copy link

guyappy commented Mar 14, 2016

Indeed, I changed the secret to one without special chars (just re-created one until I got one without special chars) and then it worked.

I tried;
aws opsworks register etc.

@akhil-bp
Copy link

akhil-bp commented Jun 10, 2021

You shouldn't be using SMTP credentials when calling SES through an SDK, you should be using the credentials associated with an IAM account: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-credentials.html?icmpid=docs_ses_console

Just to be sure, can you confirm you're using the correct region as well?

It might also be helpful if you can share what params you passed to sendEmail. Don't need specific values, just want to make sure I can make a request when filling out the same params.
© aws/aws-sdk-js#1443 (comment)
It works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants