Back to articles
January 16, 2025

Ansible encrypt string

Encrypt string for use in ansible vault

echo -n ${pwdstring} | ansible-vault encrypt_string --vault-password-file ${pwdFile} --stdin-name ApplicationPassword
Loading comments...