# azure\_rm\_devtestlabvirtualmachine – Manage Azure DevTest Lab Virtual Machine instance - ssh\_key attribute

**URL:** <https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachine-manage-azure-devtest-lab-virtual-machine-instance-ssh-key-attribute/31525>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [October 23, 2019, 9:55am UTC](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachine-manage-azure-devtest-lab-virtual-machine-instance-ssh-key-attribute/31525 "2019-10-23T09:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Decisive](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mr\_Decisive](https://forum.ansible.com/u/Mr_Decisive)\
**Post date:** [October 23, 2019, 9:55am UTC](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachine-manage-azure-devtest-lab-virtual-machine-instance-ssh-key-attribute/31525/1 "2019-10-23T09:55:19Z")

</div>

Hi,

I have a question on the above module. I want to use ssh key authentication as opposed to password authentication on the vm that is created in the lab but if I exclude the password property and include a key for the ssh\_key property I get the following error:

`

Missing required property ‘password’."

`

Any thoughts?

Cheers  
Phill
