# Execution Enviroment - IAM service account

**URL:** <https://forum.ansible.com/t/execution-enviroment-iam-service-account/37367>\
**Category:** Ansible Project\
**Tags:** awx, aws, ee, kubernetes\
**Created:** [November 18, 2022, 10:09pm UTC](https://forum.ansible.com/t/execution-enviroment-iam-service-account/37367 "2022-11-18T22:09:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcos\_Bonfanti](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Marcos\_Bonfanti](https://forum.ansible.com/u/Marcos_Bonfanti)\
**Post date:** [November 18, 2022, 10:09pm UTC](https://forum.ansible.com/t/execution-enviroment-iam-service-account/37367/1 "2022-11-18T22:09:06Z")

</div>

Hi Everybody!

There is any way of use AWS IAM roles in AWX execution environments ?

I cant find any documentation about this.

The only thing that I found was

spec:  
service\_account\_annotations: |  
[eks.amazonaws.com/role-arn:](http://eks.amazonaws.com/role-arn:) arn:aws:iam::\<ACCOUNT\_ID\>:role/\<IAM\_ROLE\_NAME\>

But it’s not working for me

If i execute an aws sts get-caller-identity in the execution environment, the role that is being assumed is the role of the Kubernetes node

Thank you so much in advance
