https://github.com/tofran/aws-ses-smtp-credentials
🔑 Convert AWS Secret Access Keys into SES SMTP passwords, in your browser, with a simple and secure static site hosted on GitHub pages.
https://github.com/tofran/aws-ses-smtp-credentials
aws-credentials aws-ses aws-tools ses-smtp
Last synced: over 1 year ago
JSON representation
🔑 Convert AWS Secret Access Keys into SES SMTP passwords, in your browser, with a simple and secure static site hosted on GitHub pages.
- Host: GitHub
- URL: https://github.com/tofran/aws-ses-smtp-credentials
- Owner: tofran
- License: mit
- Created: 2023-03-13T20:36:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T16:20:07.000Z (about 2 years ago)
- Last Synced: 2025-03-13T21:47:32.228Z (over 1 year ago)
- Topics: aws-credentials, aws-ses, aws-tools, ses-smtp
- Language: Svelte
- Homepage: https://tofran.github.io/aws-ses-smtp-credentials
- Size: 346 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS SES SMTP password generator
Browser tool to convert AWS Secret Access Keys into AWS SES (Simple Email
Service) passwords.
Available in [https://tofran.github.io/aws-ses-smtp-credentials][static site].
## Library
This repo contains both a [static site] hosted on GitHub Pages, and an
[NPM library] (`aws-ses-smtp-credentials`) to convert Secret Access Keys
into an SMTP passwords:
**Installation**
`npm install --save aws-ses-smtp-credentials`
**Usage**
```js
import { getSESSmtpPassword } from "aws-ses-smtp-credentials";
getSESSmtpPassword(secretAccessKey, region);
```
[npm library]: https://www.npmjs.com/package/aws-ses-smtp-credentials
[static site]: https://tofran.github.io/aws-ses-smtp-credentials
## Why?
AWS [provides a Python script](https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html)
to make this conversion. One could create a simple shell alias to perform this
conversion (note that some adaptation is needed to avoid leaking credentials
to the shell history).
But, I have always wondered why there isn't already a Javascript version (for
the browser - that does not use Node's crypto module).
Thus I took it as an opportunity to try a few new things and port it to
`crypto-js`.