Skip to content

Commit 9ff0137

Browse files
committed
update new account comment
1 parent 7be3d70 commit 9ff0137

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

broker/stores/azure/account.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ type accountStore struct {
3131
// - Else if AZURE_ACCOUNT_NAME, AZURE_TENANT_ID, and both AZURE_CLIENT_ID and AZURE_CLIENT_SECRET are set: client secret.
3232
// - Else if AZURE_ACCOUNT_NAME and AZURE_TENANT_ID are set: DefaultAzureCredential (workload identity, managed identity, Azure CLI).
3333
//
34-
// So existing customers keep using azure:// with account key; migrating to managed identity only requires setting AZURE_TENANT_ID and removing the key (and optionally AZURE_CLIENT_ID for workload identity).
34+
// Existing customer can keep using azure:// with account key; migrating to managed identity requires setting AZURE_TENANT_ID and removing the key.
35+
// AZURE_CLIENT_SECRET is not required for managed identity but can be used for client secret authentication.
3536
func NewAccount(ep *url.URL) (stores.Store, error) {
3637
var args StoreQueryArgs
3738

0 commit comments

Comments
 (0)