dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.58k stars 25.29k forks source link

Please update the new DefaultAzureCredential() with Azure App config client secret #21628

Open vick-git opened 3 years ago

vick-git commented 3 years ago

[Enter feedback here] In the section, https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-5.0#protectkeyswithazurekeyvault

public void ConfigureServices(IServiceCollection services) { services.AddDataProtection() .PersistKeysToAzureBlobStorage(new Uri("")) .ProtectKeysWithAzureKeyVault(new Uri(""), new DefaultAzureCredential()); }

Please update the new DefaultAzureCredential() with Azure App config client secret as it was to be corrected according to one of the recent interactions with one of the clients.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

guardrex commented 3 years ago

Hello @vick-git ... Please re-open using the This page feedback button and form at the bottom of the topic. It adds metadata to the issue and automatically pings the author.

Capture
vick-git commented 3 years ago

@guardrex , I actually did do that. Not sure why it didn't pick them all. Could you please re-check before closing?

image

vick-git commented 3 years ago

Hello @vick-git ... Please re-open using the This page feedback button and form at the bottom of the topic. It adds metadata to the issue and automatically pings the author.

Capture

@guardrex , I actually did do that. Not sure why it didn't pick them all. Could you please re-check before closing?

image