# ansible secret has a special character ':' (colon) at the end how to deal with special characters in asnible-vault/secrets ?

**URL:** <https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012>\
**Category:** Ansible Project\
**Created:** [October 12, 2020, 4:54pm UTC](https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012 "2020-10-12T16:54:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sameer\_khan](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@sameer\_khan](https://forum.ansible.com/u/sameer_khan)\
**Post date:** [October 12, 2020, 4:54pm UTC](https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012/1 "2020-10-12T16:54:24Z")

</div>

Exception :

"yaml.scanner.ScannerError: mapping values are not allowed here in “”, line 1, column 22: ldappass: \*\*\*\*\*\*\*:

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [October 13, 2020, 6:14am UTC](https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012/2 "2020-10-13T06:14:28Z")

</div>

[https://docs.ansible.com/ansible/latest/reference\_appendices/YAMLSyntax.html](https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html)
