Created
September 7, 2018 22:05
-
-
Save someword/6e786b5999a963c2740138cf52adefc1 to your computer and use it in GitHub Desktop.
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
[ec2-user@ip-10-52-26-160 ~]$ aws sts assume-role --role-arn=arn:aws:iam::XXXXXXXXXXXXX:role/kiam-pod-test-role --role-session-name test9 | |
{ | |
"AssumedRoleUser": { | |
"AssumedRoleId": "XXXXXXXXXXXXXXXXXXXX:test9", | |
"Arn": "arn:aws:sts::XXXXXXXXXXXXXXXXXX:assumed-role/kiam-pod-test-role/test9" | |
}, | |
"Credentials": { | |
"SecretAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXX", | |
"SessionToken": "XXXXXXXXXXXXXXXX///////////wEaDMvhdnnYjlHLaROoJSLpAULGH/quc+aOMfHlXFsCxP5O5Uyqlb1dN4zi/IOCwS/AB9n6QJ3mY6y0q5KRrXcooLxRiL4eDi8uYwyQtJuocdamLYgsmStjUH56o5j+8B7HaQ1HPGmOkXIaAMm+TvBX7IB1zQ21wLrshujrMxEaIohkoeHk+uyeSMxNVZdh+rswzcxsH/YQbopNFJjj83LCVyCVJy+DVJ6pSg+ScS/ZCGWU0AzsvKlbrJj7ymietwtfj+UEmgBCpv4ZLqdGJIQMuuEw8XDjipKyHtoVJHfywNYFrjbhpLTkCwzJAFc4G0mySFhOBSCKUKpZKL3qy9wF", | |
"Expiration": "2018-09-07T23:01:33Z", | |
"AccessKeyId": "XXXXXXXXXXXXXXXXXXX" | |
} | |
} | |
{"level":"info","msg":"requesting credentials","pod.iam.role":"kiam-pod-test-role","time":"2018-09-07T21:59:19Z"} | |
{"level":"error","msg":"error requesting credentials: NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors","pod.iam.role":"kiam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment