374 B
374 B
assume_role module
This module calls sts and run assume role. Returns the temp credential as a map.
System requirements
- awscli
- jq
Outputs
temp_credential: A map of strings returned by awscli. Variable is sensitive.
{
"AccessKeyId": "111",
"SecretAccessKey": "222",
"SessionToken": "333",
"Expiration": "2023-07-01T10:19:47+00:00"
}