File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ func newAuthProviderWithManagedIdentity(
124124 return rv , nil
125125}
126126
127+ // newAuthProviderWithServicePrincipalClientSecret creates a new AuthProvider with service principal client secret.
128+ // When multi-tenant is enabled, it creates a compute credential with additional allowed tenants for cross-tenant access.
127129func newAuthProviderWithServicePrincipalClientSecret (
128130 armConfig * ARMClientConfig ,
129131 config * AzureAuthConfig ,
@@ -199,6 +201,8 @@ func newAuthProviderWithServicePrincipalClientSecret(
199201 }, nil
200202}
201203
204+ // newAuthProviderWithServicePrincipalClientCertificate creates a new AuthProvider with service principal client certificate.
205+ // When multi-tenant is enabled, it creates a compute credential with additional allowed tenants for cross-tenant access.
202206func newAuthProviderWithServicePrincipalClientCertificate (
203207 armConfig * ARMClientConfig ,
204208 config * AzureAuthConfig ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
55you may not use this file except in compliance with the License.
66You may obtain a copy of the License at
77
8- http://www.apache.org/licenses/LICENSE-2.0
8+ http://www.apache.org/licenses/LICENSE-2.0
99
1010Unless required by applicable law or agreed to in writing, software
1111distributed under the License is distributed on an "AS IS" BASIS,
You can’t perform that action at this time.
0 commit comments