Added support for assuming a role to get temporary credentials