We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ede3bc commit 6247c7aCopy full SHA for 6247c7a
pkg/recipes/azure_login/login.go
@@ -22,8 +22,13 @@ type Login struct {
22
executor commands.Executor
23
}
24
25
-// Login logs the currently configured user in AzureCLI and Terraform. If configured with service principal, it will
26
-// attempt a non-interactive login, otherwise a normal user login will be started.
+// Login logs the currently configured user in AzureCLI and Terraform
+//
27
+// Attempts the login in the following order if configured:
28
+// - user assigned managed identity
29
+// - system assigned managed identity
30
+// - service principal
31
+// - normal user login
32
func (l *Login) Login() error {
33
if l.useUserAssignedManagedIdentityLogin() {
34
if l.tenant == "" {
0 commit comments