# Question regarding aws\_sts\_assumerole

**URL:** <https://forum.ansible.com/t/question-regarding-aws-sts-assumerole/33411>\
**Category:** Ansible Developer\
**Created:** [July 16, 2020, 2:44am UTC](https://forum.ansible.com/t/question-regarding-aws-sts-assumerole/33411 "2020-07-16T02:44:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Des\_Sindatry](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@Des\_Sindatry](https://forum.ansible.com/u/Des_Sindatry)\
**Post date:** [July 16, 2020, 2:44am UTC](https://forum.ansible.com/t/question-regarding-aws-sts-assumerole/33411/1 "2020-07-16T02:44:45Z")

</div>

Hello,

I am using ansible to launch ec2 instances . As part of that using ADFS SAML integration.

#### Playbook

---

<div class="post-metadata">

**Author:** ![Des\_Sindatry](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@Des\_Sindatry](https://forum.ansible.com/u/Des_Sindatry)\
**Post date:** [July 16, 2020, 1:11pm UTC](https://forum.ansible.com/t/question-regarding-aws-sts-assumerole/33411/2 "2020-07-16T13:11:01Z")

</div>

Can anyone throw some light on this ?

How is ansible going to know my temporary credentials.

---

<div class="post-metadata">

**Author:** ![Ameya\_Agashe](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Post date:** [July 20, 2020, 2:07am UTC](https://forum.ansible.com/t/question-regarding-aws-sts-assumerole/33411/3 "2020-07-20T02:07:22Z")

</div>

The fundamental issue is about permission, not ansible issue. The assume role does not have appropriate permissions.

Thanks and Regards,  
Ameya Agashe
