question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Azure.Storage.Blobs in ProtectKeysWithAzureKeyVault

See original GitHub issue

We are currently using

    .AddDataProtection()
    .PersistKeysToAzureBlobStorage(new Uri(blobUri))
    .ProtectKeysWithAzureKeyVault(kv, keyVaultUri);

to enable scenarios like scale out and deployment swapping.

Currently PersistKeysToAzureBlobStorage and its package Microsoft.AspNetCore.DataProtection.AzureStorage depend on Microsoft.Azure.Storage.Blob. This aspect could also be implemented using Azure.Storage.Blobs.

In a similar way ProtectKeysWithAzureKeyVault and its package Microsoft.AspNetCore.DataProtection.AzureKeyVault depend on Microsoft.Azure.KeyVault. This aspect could also be implemented using Azure.Security.KeyVault.Keys.

As we understand the communication/versioning scheme these new libraries seem to be the way forward.

We would like to move to the new blob storage and key vault clients as well as Azure.Identity for all our MSI handling and would be happy if the data protection extensions could support that as well. Especially for new applications we would like to avoid the dependency on the “old” libraries.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
blowdartcommented, Nov 25, 2019

Oh just an update to the libraries we depend on? Yea, we can look at that for v5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Storage Blob Key Store for Microsoft.AspNetCore. ...
Blobs package allows storing ASP.NET Core DataProtection keys in Azure Blob Storage. Keys can be shared across several instances of a web app....
Read more >
Configure ASP.NET Core Data Protection
Ensure only the identity under which your web app runs has read, write, and create access to that directory. If you use Azure...
Read more >
Data Protection with Azure Key Vault and Azure Storage in ...
Let's see, how to store Data Protection keys using Azure Blob Storage and distribute using Azure Kay Vault. Install below packages:
Read more >
Using Azure Key Vault and Azure Storage to store Data ...
Persisting keys to Azure Blob Storage ... The first step we will take is to configure the keys to be stored in an...
Read more >
ASP.NET Core Data Protection with Azure Key Vault and ...
Persisting keys to Blob Storage. Let's configure ASP.NET Core to store the data protection keys in Azure Storage. First, we need to add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found