Function: ansible-vault-create-temp-password-file
ansible-vault-create-temp-password-file is a natively compiled
function defined in ansible.el.
Signature
(ansible-vault-create-temp-password-file PASSWORD)
Documentation
Create a temporary password file from PASSWORD.
Returns the `ansible-vault` args for the password file.
Source Code
;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
(defun ansible-vault-create-temp-password-file (password)
"Create a temporary password file from PASSWORD.
Returns the `ansible-vault` args for the password file."
(let ((temp-file (make-temp-file "ansible-vault-pass")))
(write-region password nil temp-file)
(setq ansible-vault-store-cleanup-file temp-file)
(format "--vault-password-file=%s" temp-file)))