# Authentication problem

**URL:** <https://forum.ansible.com/t/authentication-problem/27771>\
**Category:** Ansible Project\
**Created:** [June 12, 2018, 3:38am UTC](https://forum.ansible.com/t/authentication-problem/27771 "2018-06-12T03:38:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit1](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@ankit1](https://forum.ansible.com/u/ankit1)\
**Post date:** [June 12, 2018, 3:38am UTC](https://forum.ansible.com/t/authentication-problem/27771/1 "2018-06-12T03:38:24Z")

</div>

Hi,

In our environment we have a tool which is used to fetch passwords for servers. Everytime you login, you will have to fetch a password which is randomly generated.  
As ansible works on ssh authentication model, is there to use ansible in this model, as we do not save password for servers. Moreover, a tool like puppet authenticates over SSL and does not need login as agent runs on the host.  
Please suggest.

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [June 12, 2018, 5:58pm UTC](https://forum.ansible.com/t/authentication-problem/27771/2 "2018-06-12T17:58:01Z")

</div>

ssh keys ?

---

<div class="post-metadata">

**Author:** ![ankit1](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@ankit1](https://forum.ansible.com/u/ankit1)\
**Post date:** [June 12, 2018, 11:43pm UTC](https://forum.ansible.com/t/authentication-problem/27771/3 "2018-06-12T23:43:01Z")

</div>

That's the problemsl. Using ssh keys would be the last hop. We are trying something to integrate with the credential manager.

---

<div class="post-metadata">

**Author:** ![Benny\_Kusman](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Benny\_Kusman](https://forum.ansible.com/u/Benny_Kusman)\
**Post date:** [June 14, 2018, 7:16am UTC](https://forum.ansible.com/t/authentication-problem/27771/4 "2018-06-14T07:16:14Z")

</div>

will be interested to know about this too.  
i have similar setup, which is the PAM that store root credentials. So, if ansible can smartly retrieve the key would be good, as this password expire after certain hours.
