mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Azure resource
This commit is contained in:
@@ -109,7 +109,7 @@ func (r *InfisicalSecretReconciler) handleAzureAuth(ctx context.Context, infisic
|
|||||||
return AuthenticationDetails{}, ErrAuthNotApplicable
|
return AuthenticationDetails{}, ErrAuthNotApplicable
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := infisicalClient.Auth().AzureAuthLogin(azureAuthSpec.IdentityID)
|
_, err := infisicalClient.Auth().AzureAuthLogin(azureAuthSpec.IdentityID, azureAuthSpec.Resource) // If resource is empty(""), it will default to "https://management.azure.com/" in the SDK.
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return AuthenticationDetails{}, fmt.Errorf("unable to login with Azure auth [err=%s]", err)
|
return AuthenticationDetails{}, fmt.Errorf("unable to login with Azure auth [err=%s]", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user