Vault
add_credentials_from_env
Add credentials from environment variables for a given URL
You should set the following environment variables for a given URL, i.e github.com: GITHUB_COM_EMAIL=“user@example.org” GITHUB_COM_PASSWORD=“mycoolpassword” # pragma: allowlist secret GITHUB_COM_USERNAME=“cooljohnny1567” GITHUB_COM_MFA_SECRET=“999779”
Signature
Parameters
The URL to add credentials for
Returns
None
Raises
ValueError
: If no credentials are found in the environment variables