The bottom line is to use Ansible Vault for stored passwords and --ask-become-pass for interactive sessions. Both approaches keep the password out of version control, out of logs, and out of process ...
To use other Python packages in your Azure Functions app, list them in a requirements.txt file at the root of your project. These packages are imported by Python's import system, and you can then ...