Use AIM role to optain credentials