1.0.0 • Published 5 years ago

aws-iam-to-smtp v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

AWS IAM to SMTP

Build Status npm version

Calculate Amazon SES SMTP Credentials from IAM Secret Access Key.

Install

$ npm install aws-iam-to-smtp

Usage

const awsIamToSmtp = require('aws-iam-to-smtp');

const smtpPassword = awsIamToSmtp.calculateKey('YOUR_SECRET_ACCESS_KEY', 'us-east-1');
console.log(smtpPassword);

awsIamToSmtp.calculateKey(key, region)

  • key - AWS Secret Access Key
  • region - 'us-east-1', 'us-west-2', 'eu-west-1'

License

MIT