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

Enable Azure "passwordless" connections #1315

Open
groldan opened this issue Aug 28, 2024 · 0 comments
Open

Enable Azure "passwordless" connections #1315

groldan opened this issue Aug 28, 2024 · 0 comments

Comments

@groldan
Copy link
Member

groldan commented Aug 28, 2024

With the upgrade to com.azure:azure-storage-blob:12.x dependency for the Azure BlobStore, it would be possible to enable
Passwordless(recommended) connections to Azure.


Quote:

Authenticate to Azure and authorize access to blob data

Application requests to Azure Blob Storage must be authorized. Using the DefaultAzureCredential class provided by the Azure Identity client library is the recommended approach for implementing passwordless connections to Azure services in your code, including Blob Storage.

You can also authorize requests to Azure Blob Storage by using the account access key. However, this approach should be used with caution. Developers must be diligent to never expose the access key in an unsecure location. Anyone who has the access key is able to authorize requests against the storage account, and effectively has access to all the data. DefaultAzureCredential offers improved management and security benefits over the account key to allow passwordless authentication. Both options are demonstrated in the following example.

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

No branches or pull requests

1 participant