Created
September 25, 2017 11:40
-
-
Save sumnulu/7970ee6028bab01e8b0a32d706d23468 to your computer and use it in GitHub Desktop.
Aws için geçici token oluşturmak.
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 sts get-session-token --output text | awk '{printf("export AWS_ACCESS_KEY_ID=\"%s\"\nexport AWS_SECRET_ACCESS_KEY=\"%s\"\nexport AWS_SESSION_TOKEN=\"%s\"\n",$2,$4,$5)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment