Azure-docs: Missing example: ASP.NET 4.7.1 - 'Access your secrets in code'

Created on 3 Feb 2019  Â·  8Comments  Â·  Source: MicrosoftDocs/azure-docs

In the comments the article says 'Now, you can access your secrets in code. The next steps are different depending on whether you are using ASP.NET 4.7.1 or ASP.NET Core.'

There is no example for ASP.NET 4.7.1 for the section 'Access your secrets in code'


Document details

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

Pri2 assigned-to-author doc-bug triaged visual-studio-dev1prod

All 8 comments

@dba4mssql
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

I'm also looking for the example on how to access the Azure Key vault from ASP.NET 4.7.1. Any updates on when this will be available? All examples I've found only show connecting to ASP.NET Core.

Thanks for adding this. It would be nice to see how my ASP.NET 4.7.2 app could access my Azure key vault.

Are there any plans to add the 4.7.1 code?

Would love to see the .NET 4.7.1 example for this

https://www.rahulpnath.com/blog/azure-key-vault-as-a-connected-service-in-visual-studio-2017/

The only thing missing is how the appSettings section in the web/app.config looks like after these changes:

<appSettings configBuilders="AzureKeyVault">
...
    <add key="Test" value="" />
...
</appSettings>

The attribute configBuilders tells the common ConfigurationManager to use the AzureKeyVault ConfigurationBuilder for these settings.

NOTE: It is important that dummy settings are set. An empty value like in the example (key="Test") is enough.

Please provide the sample code for .NET 4.7.1 projects.

The updated topic should appear in the next day or so.

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeepPuddles picture DeepPuddles  Â·  3Comments

bityob picture bityob  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments