You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing Integration Tests for our services that rely on Azure Key Vault to retrieve secrets and certificates, we have to basically mock the process as Azure Key Vault does not at this time provide an emulator that allows us to simply integrate this support with test containers.
This would make writing integration tests for services that integrate Azure KeyVault a breeze using Test Containers without making any major changes to our existing codebases.
Alternatives
Manually Spinning up a Docker Instance of Lowkey Vault separately.
Mock The KeyVault Secret and Certificate Retrieval Process
Would you like to help contributing this enhancement?
Yes
The text was updated successfully, but these errors were encountered:
Problem
While writing Integration Tests for our services that rely on Azure Key Vault to retrieve secrets and certificates, we have to basically mock the process as Azure Key Vault does not at this time provide an emulator that allows us to simply integrate this support with test containers.
Thankfully, Esta Nagy has created Lowkey Vault which aspires to be compatible with Azure Key Vault REST APIs.
Solution
Implementation of Lowkey Vault Test Container for .NET. We can take inspiration from the Test Container version for Java found here
More Details on LowKey Vault can be found from the links below
LowKey Vault Usage Wiki
LowKey Vault Example for .NET
LowKey Vault Example for .NET Tests
LowKey Vault Test Container Module For Java
LowKey Vault Assumed Identity, this allows us to use
DefaultAzureCredential
Assumed Identity endpoint in Lowkey Vault
Benefit
Alternatives
Would you like to help contributing this enhancement?
Yes
The text was updated successfully, but these errors were encountered: