@webbio/strapi-provider-aws-ses-email
v0.0.4
Published
AWS SES email provider for Strapi
Downloads
78
Maintainers
Keywords
Readme
strapi-plugin-aws-ses-email-provider
This provider makes it possible to add AWS SES as an email provider for Strapi. No credentials have to be used on AWS environments as they live on the same infrastructure as AWS SES. For development you can use the SSO method (recommended), or manual keys. See Webbio Gitbook (AWS Authentication) for more info.
If you want to use a manual configuration: use your own accessKeyId
and secretAccessKey
as credentials. They can be viewed when logging into your account under Command line or programmatic access
Implementation
config/plugins.ts
module.exports = ({ env }) => ({
// ...
email: {
config: {
provider: 'strapi-plugin-aws-ses-email-provider',
// Only use providerOptions if you're not using manual SSO. Otherwise these can be left out.
providerOptions: {
region: env('AWS_SES_REGION'),
credentials: {
// Dev only
accessKeyId: env('AWS_SES_KEY_ID'),
// Dev only
secretAccessKey: env('AWS_SES_SECRET_ACCESS_KEY'),
// Dev only
sessionToken: env('AWS_SES_SESSION_TOKEN')
}
},
settings: {
defaultFrom: '[email protected]',
defaultReplyTo: '[email protected]'
}
}
}
// ...
});