I'd suppose it is caused by editor. What editor dou you use? Check what encoding you set for this file. Better: attach the file (remove sensitive info first).
By the way:
JBoss vault is not safe. It only gives you false feeling of safety. You disclose the password to access the vault via KEYSTORE_PASSWORD. Everyone can easily decrypt all the passwords you have encrypted. Be aware that you don't get more safety with JBoss vault.