# Template - Multiple AWS Credentials

**URL:** <https://forum.ansible.com/t/template-multiple-aws-credentials/36465>\
**Category:** AWX Project\
**Tags:** awx, aws\
**Created:** [March 21, 2022, 2:42pm UTC](https://forum.ansible.com/t/template-multiple-aws-credentials/36465 "2022-03-21T14:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony1](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@Tony1](https://forum.ansible.com/u/Tony1)\
**Post date:** [March 21, 2022, 2:42pm UTC](https://forum.ansible.com/t/template-multiple-aws-credentials/36465/1 "2022-03-21T14:42:12Z")

</div>

Is there a way to assign multiple AWS credentials to a Template?

Obviously, I cannot do this through the UI, but can I do something via AWX api or something similar?

Cheers!

---

<div class="post-metadata">

**Author:** ![Tony1](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@Tony1](https://forum.ansible.com/u/Tony1)\
**Post date:** [March 22, 2022, 10:52am UTC](https://forum.ansible.com/t/template-multiple-aws-credentials/36465/2 "2022-03-22T10:52:25Z")

</div>

anyone?

cheers

---

<div class="post-metadata">

**Author:** ![Seth\_Foster](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@Seth\_Foster](https://forum.ansible.com/u/Seth_Foster)\
**Post date:** [March 23, 2022, 7:28pm UTC](https://forum.ansible.com/t/template-multiple-aws-credentials/36465/3 "2022-03-23T19:28:24Z")

</div>

Hi!

No this isn’t possible.

However, you can create multiple copies of the same template, and attach one AWS credential to each of them.

Furthermore, you can create a single workflow template to launch each of these JTs. You may utilize the “prompt on launch” feature on the Job Template which allows you to select a different credential for each node in the workflow.

see [https://docs.ansible.com/automation-controller/latest/html/userguide/workflow\_templates.html](https://docs.ansible.com/automation-controller/latest/html/userguide/workflow_templates.html) for workflow usage

Let us know if that helps!

Seth
