Skip to content

Go CLI to convert IAM Secret Access Key to SES SMTP password.

License

Notifications You must be signed in to change notification settings

chialab/ses-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SES SMTP Password converter

Simple CLI to convert IAM credentials to SMTP password that can be used to authenticate againsts AWS SES.

Installation

If you have Go installed, run go get github.com/chialab/ses-password and you’re ready to Go.

Otherwise, download a pre-build binary and copy it to a directory that’s in your $PATH. Usually, /usr/local/bin is a good place to put the executable in.

Usage

The CLI reads IAM Secret Access Key from stdin and outputs the SMTP password to stdout. Although this is not user-friendly, it makes piping easier as no formatting or parsing are required.

On macOS, you may also pipe from and to pasteboard. Assuming you already have the IAM Secret Access Key in your clipboard, run:

pbpaste | ses-password | pbcopy

This will read the secret access key from your clipboard, pass it through the executable, and put the SMTP password in your clipboard.

Other OS-es provide similar functionality with equivalent commands (e.g. xclip on Ubuntu).

Contributing

Any contribution is welcome. Issues, Pull Requests and any form of suggestion is welcome.

Fork this repository and make commits, then open a Pull Request against master, or contact us at dev@chialab.io to get in touch.

Releases

No releases published

Packages

No packages published

Languages