Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Managed Identity #29

Open
kylan11 opened this issue Jan 9, 2023 · 1 comment
Open

Add support for Managed Identity #29

kylan11 opened this issue Jan 9, 2023 · 1 comment

Comments

@kylan11
Copy link

kylan11 commented Jan 9, 2023

As of today, authentication is done either with plain connection string or accountName/accessKey string credentials.
This doesn't allow to use DefaultAzureCredential() for configured managed identity in case of enterprise applications hosted on Azure.

There should be a boolean "managedIdentity" MASOption that requires an "accountName" only.

It would appear that this change requires migrating from "BlobService" (azure-storage) to "BlobClient" (@azure/storage-blob).
There might be a way to keep BlobService by using createBlobServiceWithTokenCredential(host, TokenCredential) but it might require a bit more configuration and I didn't investigate thoroughly.

@Soggywaters
Copy link

+1 on managed identity. It is now the preferred way to connect to Azure resources as it doesn't need access keys anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants