# AWX and WINRM credential integration, passwordless and using certs

**URL:** <https://forum.ansible.com/t/awx-and-winrm-credential-integration-passwordless-and-using-certs/30961>\
**Category:** AWX Project\
**Tags:** windows, awx\
**Created:** [August 6, 2019, 11:35am UTC](https://forum.ansible.com/t/awx-and-winrm-credential-integration-passwordless-and-using-certs/30961 "2019-08-06T11:35:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel\_F](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Angel\_F](https://forum.ansible.com/u/Angel_F)\
**Post date:** [August 6, 2019, 11:35am UTC](https://forum.ansible.com/t/awx-and-winrm-credential-integration-passwordless-and-using-certs/30961/1 "2019-08-06T11:35:53Z")

</div>

Hello,

I’m using AWX since last year handling around 400 hosts fleet and now I would to try create a new windows group.

With Ansible from command line I can login into windows hosts using a pre-configured template to use certs and Winrm login like following:

somehost ansible\_host=XX.XX.XX.XX

[win]  
somehost

[win:vars]  
ansible\_winrm\_scheme=https  
ansible\_winrm\_transport=certificate  
ansible\_winrm\_server\_cert\_validation=ignore  
ansible\_winrm\_cert\_key\_pem=cert\_key.pem  
ansible\_winrm\_cert\_pem=cert.pem  
ansible\_connection=winrm

I have checked the credential options looking for winrm and no luck. How can I login to a windows host without ldap or kerberos?

My Ansible WinRm config run flawless but no clue how to approach the same from AWX.

Thanks in advance.  
Angel.

---

<div class="post-metadata">

**Author:** ![Hrvoje\_Gaspar](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@Hrvoje\_Gaspar](https://forum.ansible.com/u/Hrvoje_Gaspar)\
**Post date:** [October 29, 2020, 8:50am UTC](https://forum.ansible.com/t/awx-and-winrm-credential-integration-passwordless-and-using-certs/30961/2 "2020-10-29T08:50:00Z")

</div>

Any luck with this.

I’m experiencing the same issue. I tried creating custom credential type for certificate and key, and set variables ansible\_winrm\_cert\_key\_pem and ansible\_winrm\_cert\_key\_pem accordingly, but ansible expects those variables to point to the path of certificate and key files, not to store their content, so that throws an error.

Dana utorak, 6. kolovoza 2019. u 13:35:53 UTC+2 korisnik [tuvida...@gmail.com](mailto:tuvida...@gmail.com) napisao je:

---

<div class="post-metadata">

**Author:** ![Stefan\_Coussens](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/stefan_coussens/32/8432_2.png) [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Post date:** [October 29, 2020, 5:49pm UTC](https://forum.ansible.com/t/awx-and-winrm-credential-integration-passwordless-and-using-certs/30961/3 "2020-10-29T17:49:18Z")

</div>

I am als struggling with this and openen a github issue:

[https://github.com/ansible/awx/issues/8490](https://github.com/ansible/awx/issues/8490)  
it would also be a solution if ansible\_winrm\_cert\_key\_pem and ansible\_winrm\_cert\_pem could be a vaulted string instead of a file.

kind regards,
