Forum Discussion
Rod_Falanga_DOH
Mar 21, 2024Brass Contributor
Can Azure Key Vault be used by older .NET Frameworks?
I have begun experimenting with Azure Key Vault to gain experience at securely saving secrets. I've got a Console app I wrote using .NET 8, to read an Azure Key Vault, which for me was thrilling. ...
- Feb 24, 2025
Yes, Azure Key Vault can indeed be used with older .NET Frameworks but there are some limitations you may need to know:
- .NET Framework Compatibility: The Azure Key Vault client libraries are compatible with .NET Framework 4.6.1 and above. This means that if you are using .NET Framework 4.5.2 or older, you will need to upgrade your applications to at least .NET Framework 4.6.1 to use the Azure Key Vault client libraries.
- Using REST API: If upgrading your applications is not feasible, you can use the Azure Key Vault REST API. The REST API is independent of the .NET Framework version and can be used with any version of .NET Framework, including older versions like 4.5.2 and 2.0. You can make HTTP requests to the Azure Key Vault REST API to retrieve secrets, keys, and certificates.
- NuGet Packages: For .NET Framework 4.6.1 and above, you can use the Azure.Security.KeyVault.Secrets NuGet package, which targets .NET Standard 2.0 and is compatible with both .NET Framework and .NET Core.
Kidd_Ip
Feb 24, 2025MVP
Yes, Azure Key Vault can indeed be used with older .NET Frameworks but there are some limitations you may need to know:
- .NET Framework Compatibility: The Azure Key Vault client libraries are compatible with .NET Framework 4.6.1 and above. This means that if you are using .NET Framework 4.5.2 or older, you will need to upgrade your applications to at least .NET Framework 4.6.1 to use the Azure Key Vault client libraries.
- Using REST API: If upgrading your applications is not feasible, you can use the Azure Key Vault REST API. The REST API is independent of the .NET Framework version and can be used with any version of .NET Framework, including older versions like 4.5.2 and 2.0. You can make HTTP requests to the Azure Key Vault REST API to retrieve secrets, keys, and certificates.
- NuGet Packages: For .NET Framework 4.6.1 and above, you can use the Azure.Security.KeyVault.Secrets NuGet package, which targets .NET Standard 2.0 and is compatible with both .NET Framework and .NET Core.