Created
June 10, 2020 16:13
-
-
Save random-robbie/2f7986b0363d38e148bd6241f54212b3 to your computer and use it in GitHub Desktop.
./secrets-dump.sh | tee sec.txt
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 | |
for sec in `aws secretsmanager list-secrets | jq -r '.SecretList[].Name'`; do | |
aws secretsmanager get-secret-value --secret-id $sec | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment