Also, a role does not have standard long-term credentials such as a password or access keys associated with it. ... Instead, when you assume a role, it provides you with temporary security credentials for your role session.
How do I get the IAM role access key?
Sign in to the AWS Management Console and open the IAM console at .
- In the navigation pane, choose Users.
- Choose the name of the intended user, and then choose the Security credentials tab.
- Choose Create access key and then choose Download .
Is it safer to use access keys than it is to use IAM roles?
So, roles are just a secure way of providing an Access Key, but the Access Key is still used. An IAM Role can also be assumed to obtain temporary access to resources, but calling the AssumeRole() command also requires an Access Key to authenticate and prove the right to assume the role.