Questions tagged [azure-keyvault]

Microsoft Azure Key Vault is a cloud-hosted service that allows applications to encrypt/decrypt data using (HSM stored) cryptographic keys and store and retrieve secrets.

Azure Key Vault helps safeguard cryptographic keys and secrets used by cloud applications and services. By using Key Vault, you can encrypt keys and secrets (such as authentication keys, storage account keys, data encryption keys, .PFX files, and passwords) by using keys that are protected by hardware security modules (HSMs). For added assurance, you can import or generate keys in HSMs (keys never leave the HSM boundary). The HSMs are FIPS 140-2 Level 2 validated.

Key Vault streamlines the key management process and enables you to maintain control of keys that access and encrypt your data. Developers can create keys for development and testing in minutes, and then seamlessly migrate them to production keys. Security administrators can grant (and revoke) permission to keys, as needed.

2719 questions
0
votes
1 answer

ManagedIdentityCredential authentication failed: Service request failed. Status: 404 (Not Found)

I have my code for ASP.NET Core 3.1 project running using Visual Studio 2022 (Version: 17.4.5) hosted with AWS Workspace. I am using ManagedIdentity to access Azure Key Vault (Azure.Identity 1.4.0). Program.cs: public static class Program { …
0
votes
1 answer

How to provide a default app configuration setting value when keyvault value is missing?

I have configured my Azure App to use key vault references in configuration settings. Everything works fine in general, but there is a problem when I want a setting to have a default value in case it's missing from the key vault. Here is my…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
0
votes
1 answer

Not able to generate the DataProtectionKeyRing when it is protected using Azure Key vault on .Net 4.8

I am not able to generate the DataProtectionKeyRing when I am storing it in the Azure Blob Storage and protecting it using Key vault key. Using UseCookieAuthentication middleare for authentication. Only storing it on Azure Blob Storage works but…
Rahul Shinde
  • 153
  • 1
  • 4
0
votes
1 answer

Is it approriate to create separate Azure Key Vaults in different Azure Environments?

I'm about to create three different environments within my Azure Subscription. Dev, Test and Prod. However, I am unsure whether it is common practice to use one Key Vault that contain secrets from all three environments or should I create three…
0
votes
1 answer

How to Access Azure Key Vault from Local Dev on .Net Framework 4.7.2?

How to get Azure Key Vault to work with .Net Framework 4.7.2 Web App (non-MVC) with web.config in VS 2019 or VS 2022? I've scoured the internet and have seen this issue many times with most of the result leading to skipping AzureKeyVault at the…
RoLYroLLs
  • 3,113
  • 4
  • 38
  • 57
0
votes
1 answer

How to read appinsight instrumentation key from azure KeyVault and Create ApplicateInsight instance throuth DI in ASP.net core web aaplication?

I have asp.net core web API and we are using application insight to log request, response, customEvents and exception. In appsettings.json I have added instrumentation key like "ApplicationInsights": { "InstrumentationKey":…
0
votes
1 answer

Dynamic credentials

Does Azure Key Vault support dynamic secrets feature like Hashi Corp vault? This feature is what required. https://developer.hashicorp.com/vault/tutorials/db-credentials/database-secrets This is what I could find about azure key…
0
votes
1 answer

How to connect to an Azure Key Vault in Blazor WASM (not Hosted)?

I have been working on a personal project, where I host on my Blazor WASM on Azure Static Web Apps. As it is not designed to be run with Blazor Server, I had to use Blazor WASM but I've run into issues connecting to Azure Key Vault. When I run the…
slamjam
  • 1
  • 3
0
votes
1 answer

Azure Vaults Secrets Getting too many hits

My Azure Keys Vaults Secrets contains my connection string. My app only connects to my Azure Vault during the app Startup.cs and then saves the connection string in a static class for use elsewhere. I noticed a few days ago that Key Vaults Metrics…
0
votes
1 answer

Azure release pipeline unable to read secret stored in keyvault from load test yml file

My secret value is stored in Azure Key Vault.I have given access to key vault and load test resource. I need to send this secret in Azure Load Test yml file and run azure load tests in pipeline. When I run pipeline, it says invalid secrets. Please…
0
votes
0 answers

Why is DefaultAzureCredential() not reading Environment variables?

I am setting up a .Net Standard app to get secrets from an Azure secret vault. This is running on my local machine, so any Environment reference is to the local environment on my machine. public string GetSecret() { var…
0
votes
2 answers

How can we access Azure DevOps pipelines if we disable public access for KeyVault

I made keyvault private Networking Blade in Keyvault So when i tried to execute release pipeline it saying error like Error Mail what will be the solution for this problem. How can we access the keyvault secrets if we made private?
0
votes
1 answer

How do I use a Public Key Certificate that is stored in Key Vault in an Azure Service Environment and configure this from the DevOps Pipeline?

When connecting to an API from an Azure Function or Web App I can upload the public key certificate (.cer file) to the LocalMachine store of the App and add the thumbprints to the configuration using the key "WEBSITE_LOAD_ROOT_CERTIFICATES". When…
0
votes
1 answer

Issue with using AzureWebJobsSecretStorageType keyvault and helm in kubernetes

I have an azure function that i want to deploy to kubernetes. I'm trying to set up it's environment variables and link them to a keyvault, which https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings implies i can do by…
Phil
  • 1,852
  • 2
  • 28
  • 55
0
votes
1 answer

How can i use Key Vault for connection strings in Azure App Service?

I have followed the following for How to reference Key Vault connection strings from an Azure App Service. https://davecallan.com/how-to-reference-key-vault-connection-strings-from-an-azure-app- service/ The connection string has a name of…
Jennifer
  • 31
  • 6
1 2 3
99
100