-
Notifications
You must be signed in to change notification settings - Fork 60
ENH: Add AzureCLI authentication for SDK v1 codepath #922
Conversation
| "Found environment variables for Service Principal authentication: First characters of App ID " | ||
| f"are {service_principal_id[:8]}... in tenant {tenant_id[:8]}..." |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
| "Using interactive login to Azure. To use Service Principal authentication, set the environment " | ||
| f"variables {ENV_SERVICE_PRINCIPAL_ID}, {ENV_SERVICE_PRINCIPAL_PASSWORD}, and {ENV_TENANT_ID}. " | ||
| "For Azure CLI authentication, log in using 'az login' and ensure that the subscription is set." |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
| "Found environment variables for Service Principal authentication: First characters of App ID " | ||
| f"are {service_principal_id[:8]}... in tenant {tenant_id[:8]}..." |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fepegar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @ant0nsc! Nice to see utils getting smaller :)
At present, only ServicePrincipal and InteractiveAuthentication are supported for AzureML SDK v1. This PR adds AzureCLI as a third option. This sets the stage for password-free authentication in pipelines