Created
May 6, 2020 21:40
-
-
Save pvacca/f623f287f7defb5c92fc6433163f322e to your computer and use it in GitHub Desktop.
jq AWS Credentials transformation
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
| jq -r '.Credentials | ["export", "AWS_ACCESS_KEY_ID="+.AccessKeyId, "AWS_SECRET_ACCESS_KEY="+.SecretAccessKey, "AWS_SESSION_TOKEN="+.SessionToken] | join(" ")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment