# custom credential type for nutanix prism central

**URL:** <https://forum.ansible.com/t/custom-credential-type-for-nutanix-prism-central/37884>\
**Category:** AWX Project\
**Created:** [April 13, 2023, 9:07pm UTC](https://forum.ansible.com/t/custom-credential-type-for-nutanix-prism-central/37884 "2023-04-13T21:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrutebattlestargala](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/shrutebattlestargala/32/2029_2.png) [@shrutebattlestargala](https://forum.ansible.com/u/shrutebattlestargala)\
**Post date:** [April 13, 2023, 9:07pm UTC](https://forum.ansible.com/t/custom-credential-type-for-nutanix-prism-central/37884/1 "2023-04-13T21:07:16Z")

</div>

hello - can anyone help me with what we need to do to create a credential to access our nutanix cluster prism central so we can leverage this collection?

[https://github.com/nutanix/nutanix.ansible](https://github.com/nutanix/nutanix.ansible)

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [April 14, 2023, 5:24pm UTC](https://forum.ansible.com/t/custom-credential-type-for-nutanix-prism-central/37884/2 "2023-04-14T17:24:19Z")

</div>

This should achievable with the custom credential types feature, see the docs on how to set one up [https://docs.ansible.com/automation-controller/latest/html/userguide/credential\_types.html#custom-credential-types](https://docs.ansible.com/automation-controller/latest/html/userguide/credential_types.html#custom-credential-types)

let us know if you run into trouble getting it configured

AWX Team

---

<div class="post-metadata">

**Author:** ![shrutebattlestargala](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/shrutebattlestargala/32/2029_2.png) [@shrutebattlestargala](https://forum.ansible.com/u/shrutebattlestargala)\
**Post date:** [April 17, 2023, 6:14pm UTC](https://forum.ansible.com/t/custom-credential-type-for-nutanix-prism-central/37884/3 "2023-04-17T18:14:47Z")

</div>

Yes thanks that was what i needed and used extra\_vars for my injectors:

Inputs:  
fields:

- id: nutanix\_host  
type: string  
label: Nutanix Host IP
- id: nutanix\_username  
type: string  
label: Username
- id: nutanix\_password  
type: string  
label: Password  
secret: true  
required:
- nutanix\_host
- nutanix\_username
- nutanix\_password

Injectors:  
extra\_vars:  
nutanix\_host: ‘{{ nutanix\_host }}’  
nutanix\_password: ‘{{ nutanix\_password }}’  
nutanix\_username: ‘{{ nutanix\_username }}’

this works with the following playbook settings:
