This example gets temporary security credentials to access resources.
go run AssumeRolev2.go -r ROLE-ARN -s SESSION-NAME
- ROLE-ARN is the ARN of the role to assume.
- SESSION-NAME is the name of the assumed role session.
The unit test accepts similar values in config.json.