# Vault encrypting password over the network or just locally

**URL:** <https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763>\
**Category:** Ansible Project\
**Created:** [February 25, 2019, 1:34pm UTC](https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763 "2019-02-25T13:34:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mboncalo](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Post date:** [February 25, 2019, 1:34pm UTC](https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763/1 "2019-02-25T13:34:22Z")

</div>

Hi,

I'm trying to secure my ansible playbook and one of the steps is  
securing the password. I know that I can store the password encrypted  
inside ansible vault and than use directly from the vault and send it  
over the network (e.g. change pass) but the question is, the password  
is decrypted and sent through the network(plain text) or encrypted and  
encrypted at the destination ?

Thanks,  
Mihai.

---

<div class="post-metadata">

**Author:** ![mboncalo](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Post date:** [February 27, 2019, 10:35pm UTC](https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763/2 "2019-02-27T22:35:29Z")

</div>

Does anyone know?

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [February 27, 2019, 10:45pm UTC](https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763/3 "2019-02-27T22:45:51Z")

</div>

Ansible uses ssh(on \*nix) to the host so the traffic is encrypted.

---

<div class="post-metadata">

**Author:** ![mboncalo](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Post date:** [February 28, 2019, 1:29pm UTC](https://forum.ansible.com/t/vault-encrypting-password-over-the-network-or-just-locally/29763/4 "2019-02-28T13:29:20Z")

</div>

Obvious...my bad, stupid uquestion
