This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'openssl' | |
require 'base64' | |
def aws_iam_smtp_password_generator(key, region) | |
# The values of the following variables should always stay the same. | |
date = "11111111" | |
service = "ses" | |
terminal = "aws4_request" | |
message = "SendRawEmail" | |
version_in_bytes = "\x04" |
OlderNewer