# Using an Ansible Vault Key with Newlines

**URL:** <https://forum.ansible.com/t/using-an-ansible-vault-key-with-newlines/32541>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 26, 2020, 4:59pm UTC](https://forum.ansible.com/t/using-an-ansible-vault-key-with-newlines/32541 "2020-03-26T16:59:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Susan\_Tang](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Susan\_Tang](https://forum.ansible.com/u/Susan_Tang)\
**Post date:** [March 26, 2020, 4:59pm UTC](https://forum.ansible.com/t/using-an-ansible-vault-key-with-newlines/32541/1 "2020-03-26T16:59:13Z")

</div>

Hi all,

In our manual Ansible runs, we’re currently using a Vault key file with newlines in it and specifying it as “\<vault\_id\>@file\_path/file\_name”, this all works smoothly.

However, when adding credentials to the Vault secret type in AWX GUI, the newlines all get squashed, and I can’t find a way to upload a file instead.  
Anyone know a workaround for this?
