-
Notifications
You must be signed in to change notification settings - Fork 6
azure:login: make deps explicit #108
Copy link
Copy link
Open
Description
The way we do login today is practical but obligates the user to export env vars (credentials could be loaded from other place) and also does not make dependencies explicit (instead of using code to make deps explicit we use documentation, that can lie, specially about runtime dependencies like env vars). I propose we change azure_login to:
fn azure_login(service_principal, tenantid, clientid, secretid) {
}
And create another azure_login_from_env, or azure_login_env (or another name), that loads env vars according to the pattern established on the project and calls the azure_login function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels