Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ses-smtp-credentials-cdk
Advanced tools
Generate AWS SES SMTP credentials for sending mail via SES.
On the 10th January 2019 AWS changed how SES SMTP authentication works to restrict access on a per-region basis. This makes providing SES credentials annoyingly hard, if you are automating everything via Cloudformation.
This addresses that.
import { SesSmtpCredentials } from 'ses-smtp-credentials-cdk';
// ...
const smtpCredentials = new SesSmtpCredentials(this, 'Credentials', {
region: 'eu-west-1'
});
new ssm.StringParameter(this, 'CredentialsParameter', {
parameterName: 'email',
stringValue: JSON.stringify({
username: smtpCredentials.username(),
password: smtpCredentials.password(),
})
});
The algorithm for signing the key is as specified here:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html
The returned username and password are provided via Cloudformation (rather like the Iam::AccessKey resource), which is potentially a problem for confidentiality. Better would be for this custom resource to write directly to a secret. Patches are welcome.
Run
$ npm version (patch|minor|major)
$ git push origin master [tag you just created]
FAQs
Create SMTP Credentials for use with SES
The npm package ses-smtp-credentials-cdk receives a total of 77 weekly downloads. As such, ses-smtp-credentials-cdk popularity was classified as not popular.
We found that ses-smtp-credentials-cdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.