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
6
votes
3 answers

Docker and AzureKeyVault: unable to load shared library 'libsecret-1.so.0'

I have Asp.net core Xunit integration tests that connect to MongoDb to test basic repositories on collections. The tests are built and run in a container in AKS. I have setup the test fixture to connect Azure Key Vault to retrieve connection string…
RedRose
  • 555
  • 7
  • 27
6
votes
2 answers

How to create Api connection to Azure KeyVault for Logic App with Managed Identity

Scenario Hi, I would like to create Logic App that gets secret from Azure KeyVault and sends authenticated request to the API with secret from vault. Problem I receive: The workflow connection parameter 'keyvault' is not valid. The API connection…
6
votes
2 answers

changing package from "Microsoft.Extensions.Configuration.AzureKeyVault" To "Azure.Extensions.AspNetCore.Configuration.Secrets"

I am using nuget Microsoft.Extensions.Configuration.AzureKeyVault and I am using below code for asp.net core 3.1 in Program.cs, I am doing custom certificate authentication for azure keyVault. Also using custom secret management. public static…
user584018
  • 10,186
  • 15
  • 74
  • 160
6
votes
1 answer

Visual Studio 2019 Azure KeyVault configuration error when publish

I want to deploy my project to Azure in an App Service I have just created. Also, I created a KeyVault for all my settings. When I try to deploy to app to the service, I have to configure the connection strings for the databases. I click on…
Enrico
  • 3,592
  • 6
  • 45
  • 102
6
votes
1 answer

Dynamic access to Key Vault secret variables in Azure DevOps

I have a Azure Key Vault with different keys (e.g. Key1, Key2, Key3). In some setting, which is dynamically read in one pipeline task, I have value which says which key to use (lets KeyName variable be 'Key2'). How can I read the secret value of the…
6
votes
3 answers

Load certificate and private key into Java KeyStore

I'm trying to fetch a certificate and its private key from Azure Key Vault then call a remote server and do client certificate authentication. The first part works well (fetching from Key Vault), however i'm completely stuck at importing the public…
evilSnobu
  • 24,582
  • 8
  • 41
  • 71
6
votes
4 answers

Azure DevOps -> Pipelines -> Library -> Access Azure Key Vault -> Key Vault not allowing access from all networks

We have set up a connection between Azure DevOps and Azure Key Vault via Service Connections (service principal authentication). However in order for it to work we need to have the Azure Key Vault -> Networking marked as Allow access from: All…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
6
votes
1 answer

referencing a KeyVault secret in an ARM template fails with 'The resource is not defined in the template'

I am trying to create a KeyVault reference in the AppConfig section of an Azure web app. The KeyVault reference references a secret which exists in a KeyVault which is part of a different resourcegroup and thus does not exist in the…
6
votes
1 answer

Azure.Security.KeyVault.Secrets vs Microsoft.Azure.KeyVault

These 2 libraries seem to serve a similar purpose: to securely store and control the access to tokens, passwords, API keys, and other secrets. I have been using Microsoft.Azure.KeyVault with some success, not for configuration secrets, but for…
Arthur
  • 143
  • 2
  • 8
6
votes
2 answers

Error: Could not access key vault reference metadata

I am getting below error for Deployment slots in Azure Portal. This message is displayed under Configuration. Error: Could not access key vault reference metadata This message is displayed for all web apps under configuration. Any inputs are…
6
votes
1 answer

How to work with Key Vault when developing locally in .net framework?

I'm wondering if there is a way I can setup a .net mvc app the same way a .net core app can be setup with Key…
Ryan E.
  • 977
  • 8
  • 16
6
votes
2 answers

Azure key vault - WebApp is not visible in select principal

We have 2 subscriptions Development UAT We are able to assign webapp to allow access to key vault to get credentials and its working fine thru Key Vault -> Access Policies -> Add New -> Select Principal With UAT subscription, WebApp is not listed…
Manish Joisar
  • 1,256
  • 3
  • 23
  • 47
6
votes
2 answers

Not able to connect to Azure Key Vault when using Service Identity

I am trying to retrieve secrets from Azure Key Vault using Service Identity in an ASPNet 4.6.2 web application. I am using the code as outlined in this article. Locally, things are working fine, though this is because it is using my identity. When…
Daniel Gimenez
  • 18,530
  • 3
  • 50
  • 70
6
votes
2 answers

v2 Azure Function with Service Bus trigger not firing

I am using Azure Functions V2 with a Service Bus trigger using 1.0.23 of the C# Functions SDK. I'm using the following approach to get secrets from KeyVault and use them within the settings of the triggers: How to map Azure Functions secrets from…
pkunal7
  • 283
  • 3
  • 11
6
votes
1 answer

Is it possible to refer to a certificate in Azure Key Vault via a file name?

In the scenario for this question I am using a library that takes a certificate path as a parameter. Does that mean that it is not possible for me to store my certificate in Key Vault?
Kirsten
  • 15,730
  • 41
  • 179
  • 318