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
5
votes
1 answer

What is the correct way to detect non-existent key in KeyVault

I'm using KeyVaultClient from the 2.3.2 Microsoft.Azure.KeyVault NuGet. Using GetSecretAsync(,), I noticed that a KeyVaultErrorException is raised if I try to access a non-existent secret. Unfortunately that same error is also raised when access to…
Jim O'Neil
  • 23,344
  • 7
  • 42
  • 67
5
votes
1 answer

Azure Keyvault CLI error: The subscription is not registered to use namespace 'Microsoft.KeyVault'

I get the error below when creating a new KeyVault The subscription is not registered to use namespace 'Microsoft.KeyVault' For all other products, the solution is to deploy a similar resource in the same region/account using the GUI, however…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
5
votes
1 answer

Is it possible to change access rights to a single Key Vault Secret?

With Azure Key Vault, is it possible to grant access to read a single secret, rather than any secret in the Key Vault for which the client has a URI?
Sentinel
  • 3,582
  • 1
  • 30
  • 44
5
votes
1 answer

Azure key vault key/secret versioning

I am planning to keep keys on key vault, but I am not clear about versioning of keys and secrets, I have some question about versioning of key/secret on Azure key vault. How to create new version of existing key? Is it possible to decrypt data…
Aasish
  • 377
  • 5
  • 18
5
votes
1 answer

Install a certificate in a Service Fabric Cluster without a private key

I need to install a certificate in a Service Fabric cluster that I created using an ARM template. I was able to install a certificate with the private key using the following helper powershell command: >…
Dismissile
  • 32,564
  • 38
  • 174
  • 263
5
votes
1 answer

Using Always Encrypted with Entity Framework and Azure Key Vault

I've encrypted some columns in an Azure SQL Database, using Always Encrypted and a column master key stored in an Azure Key Vault, but I'm having trouble accessing them from my application using Entity Framework. There's a recent MSDN article and an…
5
votes
1 answer

Does Azure's Key Vault support symmetric key encryption?

I would appreciate clarification and advice on the following: My project requires me to use symmetric data encryption (using AES), in a Nodejs environment, to secure data on a database (mongodb). Ideally, I would like to do this as follows: Store…
ryd3r
  • 283
  • 4
  • 14
5
votes
1 answer

View contents of Secret in Azure KeyVault

This may seem like a very basic question, but I've created a KeyVault in Azure and have added two Secrets to it which are plain text 'hello world' examples secured using ConvertTo-SecureString. Using Get-AzureKeyVaultSecret I can see that the two…
AndyHerb
  • 670
  • 9
  • 27
5
votes
1 answer

Does Azure Key Vault support KMIP?

I have an application I want to run in Azure that can use the KMIP protocol to communicate with key management servers. Does Azure Key Vault support KMIP? If so, were can I find the details?
4
votes
2 answers

How to get more than the first 25 secrets from an Azure key vault via command line?

I am using az keyvault secret list to get secrets from my Azure key vault. Its help says: Arguments --maxresults : Maximum number of results to return in a page. If not specified, the…
Claus Appel
  • 1,015
  • 10
  • 28
4
votes
1 answer

How to access an azure keyvault from an non registeres app (.net framework webapp)

I am trying to access my azure keyvault i have setup from my web app which due to legacy cannot be registered in azure. I have for now via connected services "connected" the application with key vault, which then modified the web.config and…
I am not Fat
  • 283
  • 11
  • 36
4
votes
1 answer

Diagnostic setting not included in Azure Portal ARM template export

I create a Diagnostic Settings for a KeyVault resource in Azure portal. DS properties are Metrics = AllMetrics and Destination is a predefined Log Analytics Workspace. When I do an export (Automation - Export Template) from Portal, nothing from the…
Caad9Rider
  • 654
  • 1
  • 8
  • 16
4
votes
1 answer

How to tell terraform it should try to delete a soft-deleted azure keyvault key, when it exists?

Azure enforces purge protection on all keyvault keys by default and this is causing some headaches when using terraform. Specicially this can run into a situation where you deleted a VM using a disk-encryption key and as a result, terraform deleted…
Db0
  • 151
  • 2
  • 10
4
votes
1 answer

What is the on-premise equivalent of an Azure key vault?

As I am a programmer with solely experience with production environments in the cloud that run with a cloud-based secret manager, I was wondering: How are secrets managed in an on-premise instance? I bet they are not just written in the application…
4
votes
3 answers

Using KeyVault secrets to override appsettings in Azure App Service and locally

Attempting to retrieve secrets from KeyVault in a C# App Service. Local machine: Visual Studio > Tools > Options > Azure Service Authentication - authenticated Azure account Likely use az login in the shell that you dotnet run if on vs code etc.…
Ruskin
  • 5,721
  • 4
  • 45
  • 62