"Resolved credential object is not valid" while sending emails with @aws-sdk/client-ses in a Cloudflare Worker
0
Hi all,
Here is how I try to provide the credentials:
const sesClient = new SESClient({
region: REGION,
credentials: {
aws_access_key_id: "my_key",
aws_secret_access_key: "my_secret"
}
});
I then get the following error message: "Resolved credential object is not valid".