This file contains 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
#!/bin/bash | |
# AWS route53 Delete all hosted zones. | |
# Requires aws cli, jq | |
# chmod u+x ~/aws-route53-delete-hosted-zones.sh | |
# AWS profile to use. | |
PROFILE="default" | |
# Loop through each Hosted Zone. | |
while read id |
This file contains 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
#!/usr/bin/env bash | |
# Convert AWS Secret Access Key to an Amazon SES SMTP password | |
# using the following pseudocode: | |
# | |
# key = AWS Secret Access Key; | |
# message = "SendRawEmail"; | |
# versionInBytes = 0x02; | |
# signatureInBytes = HmacSha256(message, key); | |
# signatureAndVer = Concatenate(versionInBytes, signatureInBytes); | |
# smtpPassword = Base64(signatureAndVer); |