Function: ansible-vault-password-from-environment

ansible-vault-password-from-environment is a natively compiled function defined in ansible.el.

Signature

(ansible-vault-password-from-environment)

Documentation

Temporarily store the password from the environment in a file.

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-password-from-environment ()
  "Temporarily store the password from the environment in a file.
Returns the `ansible-vault` args for the password file."
  (let ((pass (getenv ansible-vault-password-environment-variable)))
    (ansible-vault-create-temp-password-file pass)))