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”

Parameters

url
str

The URL to add credentials for

Returns

None

Raises

  • ValueError: If no credentials are found in the environment variables