# Handle Vault credentials type in AWX

**URL:** <https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869>\
**Category:** Get Help\
**Tags:** hashi-vault, awx\
**Created:** [December 12, 2023, 1:37pm UTC](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869 "2023-12-12T13:37:03Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![selvi](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@selvi](https://forum.ansible.com/u/selvi)\
**Post date:** [January 30, 2025, 2:54pm UTC](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869/21 "2025-01-30T14:54:07Z")

</div>

Yes, I have raised a ticket for the same.

Through custom credentials, I can fetch secrets from the vault. But I wonder, which use case can we go with HashiCorp Vault secret lookup credentials?

---

<div class="post-metadata">

**Author:** ![motorbass](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@motorbass](https://forum.ansible.com/u/motorbass)\
**Post date:** [January 30, 2025, 3:04pm UTC](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869/22 "2025-01-30T15:04:51Z")

</div>

Alright.  
Excuse me but, you’re configuring something you don’t know to do with ? that’s lunar…

But to answer to your question and **it will be my last message in that thread** : you can simply avoid to write confidential data (credentials, token etc…) in your yaml files but instead, make a reference to Hashi Vault secrets. Another scenario is to allow people to make some privileged actions for one time only, without knowing any credentials.

---

<div class="post-metadata">

**Author:** ![selvi](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@selvi](https://forum.ansible.com/u/selvi)\
**Post date:** [January 30, 2025, 4:41pm UTC](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869/23 "2025-01-30T16:41:51Z")

</div>

Hi,  
Thanks for your response. I am aware of the purpose of configuring HashiCorp Vault. What I want to convey is that “we have to create custom credentials to fetch secrets from the vault instead of creating credentials with type 'HashiCorp Vault secret lookup.”.

Yes, this thread is also going very long. Anyway, I found a solution for my queries.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [March 1, 2025, 4:41pm UTC](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869/24 "2025-03-01T16:41:59Z")

</div>

Closed on March 1, 2025, 4:41pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.ansible.com/t/handle-vault-credentials-type-in-awx/2869.md?page=1)
