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
[1.1 New Feature] Azure Key Vault Configuration Provider #1993
Comments
Will support for a netstandard1.x be available for this or is it only going to be on the full framework? I can see a preview version of the AzureKeyVault nuget package that targets netstandard1.5. |
Never mind, I can see in the dev branch that you now have a netstandard1.5 framework with the new nuget package so that answers my question above. Hopefully that makes it into the 1.1 RTM :) |
Yeah, we were just waiting on the Azure Key Vault client libraries to be ported to netstandard. That technically happened before the preview but we didn't have time to update. It should make 1.1 RTM in the current plans! |
@anurse I'm gonna format (not change) the outline ☝️ Friday morning. I think you guys will be able to approve it tomorrow afternoon, which would work well for me if that turns out to be the case. I enjoy writing on Saturday and Sunday mornings, and this doc will keep me out of trouble this weekend. 😁 |
|
@anurse I just reformatted it a little. I tend to drop these right into the doc body and go to town on it. The status on Core: This is still .NET 4.5.1 only, correct? Are Core capabilities on the dev feed package? Anything missing or other notes? |
@tdykstra Do you want this doc to appear under Security? ... perhaps under the Safe storage of app secrets during development doc? If you prefer big changes to Configuration layout for this, then I'll wait for you to do the setup. If you just want it under Security, I can handle that in the PR without crashing the Internet. 😄 [EDIT] Title: Azure Key Vault Configuration Provider 👈 Is that correct? |
Nope, Microsoft.Extensions.Configuration.AzureKeyVault 1.0.0 supports Core. It was just during the preview that it didn't support it. It does require ASP.NET Core 1.1 though, it's not supported on ASP.NET Core 1.0. |
Excellent! Thanks. |
@guardrex I would put it where you suggest but link to it from the Fundamentals/Configuration doc. Title looks good. |
@tdykstra Cool. Thanks. I'll look at this one more time tonight ... the outline and the sample and ref docs. I'll sit down to writing tomorrow morning. Thanks guys ... this is looking great. |
Sample appI put a draft sample app up for the doc ...
[UPDATE] ... and 🎉 🎈 PR is ready! 🎈 🎉 |
Docs for the Azure Key Vault Configuration Provider should be added. Rough outline notes below.
Note: For Preview 1, The AzureKeyVault config provider only supports .NET 4.5.1+ apps, and not .NET Core apps.
List
andGet
permissions to SecretsIConfiguration
with the same name.IConfiguration
orIConfigurationRoot
instanceconfig
:config["MySecret"]
will return the appropriate value.--
as a separator. For exampleFoo--Bar
in the Key Vault can be retrieved viaconfig["Foo:Bar"]
orconfig.GetSection("Foo")["Bar"]
IConfigurationRoot.Reload
is called, so changes to the value in the Key Vault will not take affect until thenconfig["..."]
to throwKeyVaultClientException: Operation get is not allowed on a disabled secret
during reloadIConfigurationRoot.Reload
is called./cc @pakrym
The text was updated successfully, but these errors were encountered: