Created
April 28, 2023 04:14
-
-
Save tristanmorgan/3b105144389bf18294b2e2bfb05a4f2f to your computer and use it in GitHub Desktop.
Generate an AWS access key ID and secret that passes the regex in AWSKeyring.
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 ruby | |
require 'securerandom' | |
puts "AKIA#{Array.new(16){[*"A".."Z", *"2".."7"].sample}.join}" | |
puts SecureRandom.base64(30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment