Azure key vault private.pem read using bouncy castle [on hold]
Azure key vault private.pem read using bouncy castle [on hold] I am using a nuget package: Org.BouncyCastle, in order to sign requests with SHA256withRSA . I have the "private.pem" file uploaded in azure key vault in secrets. I have created an Azure Key Vault and uploaded the private.pem file to the secrets. I also have an azure active directory. Here, I created a new application registration. The application type chosen is "Web app/API". I gave it a name and the url. I can not find any clientSecret. From their documentation, I understood that the applicationId of the key in key vault is the clientId. Where can I find ClientSecret and how can I read (using Org.BouncyCastle) the "private.pem" file from the secrets in key vault? Here is the program.cs config snippet. SHA256withRSA var host = WebHost.CreateDefaultBuilder(args).ConfigureAppConfiguration((ctx, config) => { var buildConfig = config.Build(); var keyVaultConfigBuilder = new ...
