Skip to content

Any change needed to use Signature Version 4? #2336

@joaodias14

Description

@joaodias14

We are now changing credentials to use Signature Version 4, but using software.amazon.awssdk.ses version 2.15.58 we get an exception.

Describe the issue

We get the following error:
Exception in thread "DefaultDispatcher-worker-2" software.amazon.awssdk.services.ses.model.SesException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

In the link below we see the following but is it really that simple or anything is needed to have it working with Signature Version 4?
Important If you are using one of the AWS SDKs (including the SDK for Java, .NET, Python, Ruby, or JavaScript), you do not have to manually perform the steps of deriving a signing key and adding authentication information to a request. The SDKs perform this work for you. You need to manually sign requests only if you are directly making HTTP or HTTPS requests.

Links

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-authentication.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions