CDCgov / cfa_azure

Apache License 2.0
9 stars 2 forks source link

persisting `az` credentials #93

Open arik-shurygin opened 3 months ago

arik-shurygin commented 3 months ago

When running something like client.package_and_upload_dockerfile you will be prompted to go through the az login flow every time the file is run, even if you have already logged in. Is there any way we can cache this login?

Even running the same python file twice in the same terminal repeats the login process, I understand the first time the file is run needing to login, but subsequent calls should first check if the credentials are already valid.

arik-shurygin commented 2 months ago

hey @ryanraaschCDC any updates on this? This is not breaking functionality but it would be nice to not need to re-login every time I run my launching scripts.