Skip to content

Commit 06f605e

Browse files
committed
Fix license header
1 parent 5e0ba6d commit 06f605e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pkg/azclient/auth_func.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
127129
func 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.
202206
func newAuthProviderWithServicePrincipalClientCertificate(
203207
armConfig *ARMClientConfig,
204208
config *AzureAuthConfig,

pkg/azclient/auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
66
You 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
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)