# Is Multi-Credential Assignment available in AWX

**URL:** <https://forum.ansible.com/t/is-multi-credential-assignment-available-in-awx/35309>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 8, 2021, 12:49pm UTC](https://forum.ansible.com/t/is-multi-credential-assignment-available-in-awx/35309 "2021-06-08T12:49:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.ansible.com/u/kdd)\
**Post date:** [June 8, 2021, 12:49pm UTC](https://forum.ansible.com/t/is-multi-credential-assignment-available-in-awx/35309/1 "2021-06-08T12:49:57Z")

</div>

**Ansible Tower has multi-credential assignment functionality (see below). My current version of AWX is 14. It does not contain the functionality that exists in the most recent versions of Ansible Tower. Is there a version of AWX that supports the functionality below?**

1. Multi-Credential Assignment

Ansible Tower provides support for assigning zero or more credentials to a job template.

5.1. Background

Prior to Ansible Tower 3.3, job templates had a certain set of requirements with respect to credentials:

- All job templates (and jobs) were required to have exactly _one_ Machine/SSH or Vault credential (or one of both).

- All job templates (and jobs) could have zero or more “extra” credentials.

- Extra credentials represented “Cloud” and “Network” credentials that could be used to provide authentication to external services via environment variables (e.g., AWS\_ACCESS\_KEY\_ID).

This model required a variety of disjoint interfaces for specifying credentials on a job template and it lacked the ability associate multiple Vault credentials with a playbook run, a use case supported by Ansible core from Ansible 2.4 onwards.

This model also poses a stumbling block for certain playbook execution workflows, such as having to attach a “dummy” Machine/SSH credential to the job template simply to satisfy the requirement.

5.2. Important Changes

---

<div class="post-metadata">

**Author:** ![Bill\_Nottingham1](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@Bill\_Nottingham1](https://forum.ansible.com/u/Bill_Nottingham1)\
**Post date:** [June 8, 2021, 7:49pm UTC](https://forum.ansible.com/t/is-multi-credential-assignment-available-in-awx/35309/2 "2021-06-08T19:49:10Z")

</div>

kdd (kdahl.llc@gmail.com) said:

> \*Ansible Tower has multi-credential assignment functionality (see below).  
> My current version of AWX is 14. It does not contain the functionality  
> that exists in the most recent versions of Ansible Tower. Is there a  
> version of AWX that supports the functionality below?\*

All relevant versions of AWX (and Tower, for that matter) allow assigning  
multiple credentails to job. However, you can only assign one credential  
of each \*type\*.

For example, a job can have all of:  
- one AWS credential  
- one machine credential  
- one GCP credential

However, you can not have more than one credential of the same type  
assigned.

Bill
