You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(azure): implement shared credential cache across azureclient instances
Instead of caching entire client instances, enable sharing the driver's
existing azureCredentials sync.Map across all azureclient instances.
Changes:
- Add CredentialCache *sync.Map to azureclient.Options for external cache
- Add getCredentialCache() method to use external cache when provided
- Modify getCreds() to use shared cache instead of per-client cache
- Pass driver's azureCredentials to all azureclient instances in newAzClient()
This eliminates duplicate credential creation across multiple client instances
while reusing the existing azureCredentials infrastructure. Much simpler than
client instance caching and more efficient for credential reuse.
0 commit comments