azure-keyvault

Azure Portal Error: Failed to start virtual machine 'xxxx'. Error: The Key Vault secret referenced with the URL 'xxxx' does not exist

↘锁芯ラ 提交于 2021-02-10 04:09:59
问题 I have deleted some Key Vaults from my resource manager after assuming that they are not used anywhere in my configuration and that those were some leftovers from my testing. Now I can't start my virtual machines and this error message appears. Failed to start virtual machine 'xxxx'. Error: The Key Vault secret referenced with the URL 'xxxx' does not exist. Could you please advise me how to put my virtual machines back on track since I can't afford the time building them again? Thanks a lot.

Service Fabric: Authenticating with Azure KeyVault via cert: “KeySet does not exist”

坚强是说给别人听的谎言 提交于 2021-02-08 15:16:27
问题 This is the scenario I am trying to enable: I wish to authenticate to an azure keyvault from my web service application (azure service fabric) via a client certificate. These are the steps I'm following: Add a certificate to my keyvault in azure (self signed) Download certificate via azure powershell (pfx) Create Azure App Instance to identify my app Associate certificate with app Create service principal for the azure app Give principal access to keyvault All looks good. When I spin up my

Service Fabric: Authenticating with Azure KeyVault via cert: “KeySet does not exist”

▼魔方 西西 提交于 2021-02-08 15:15:05
问题 This is the scenario I am trying to enable: I wish to authenticate to an azure keyvault from my web service application (azure service fabric) via a client certificate. These are the steps I'm following: Add a certificate to my keyvault in azure (self signed) Download certificate via azure powershell (pfx) Create Azure App Instance to identify my app Associate certificate with app Create service principal for the azure app Give principal access to keyvault All looks good. When I spin up my

Unable to “Import Certificate” using API in PowerShell

邮差的信 提交于 2021-02-08 10:43:28
问题 I have a self signed certificate that I am trying to import to Azure Key Vault Certificate, and I am facing issues. I am not doing it using the Import-AzKeyVaultCertificate command, but using the API. I was successfully able to create a Key via the API route, but for the life of me, I am not able to Import a certificate. FYI, it also works when I do it over an Azure DevOps pipeline, so I know the Service Principle isn't the issue. Here's how I am creating the certificate (over PowerShell

Unable to “Import Certificate” using API in PowerShell

亡梦爱人 提交于 2021-02-08 10:42:25
问题 I have a self signed certificate that I am trying to import to Azure Key Vault Certificate, and I am facing issues. I am not doing it using the Import-AzKeyVaultCertificate command, but using the API. I was successfully able to create a Key via the API route, but for the life of me, I am not able to Import a certificate. FYI, it also works when I do it over an Azure DevOps pipeline, so I know the Service Principle isn't the issue. Here's how I am creating the certificate (over PowerShell

Azure Function App use latest version of Key Vault Secret via Application Settings

北战南征 提交于 2021-02-07 10:50:22
问题 I have a Linux Function App running on Consumption Plan that is using a Key Vault Reference in the Application Settings to retrieve and use a secret stored in an Azure Key Vault. This works fine so far. However, we have to change that secret every day (i.e. create a new version of that secret in the Key Vault and set an activation date for that secret) and would like to have the Function App automatically retrieve and use the new version as soon as its activated without having to manually

Azure Key Vault Config Builder in 4.7.1

倖福魔咒の 提交于 2021-02-07 09:46:45
问题 We can't go to .net core yet in my company. I'm trying to investigate how to best use the azure key vault to store configuration items for our api app services. I have a simple webapi project with this global.asax file: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Http.WebHost; using System.Web.Routing; using Microsoft.Azure.KeyVault; using Microsoft.Azure.Services.AppAuthentication; using Microsoft.Extensions

Scale set using keyvault in another region

柔情痞子 提交于 2021-02-06 09:31:06
问题 I'm working with an ARM template that creates a VM Scale Set for a Service Fabric cluster and associates some secrets with the VMs from a keyvault. I discovered this morning that it appears the VMs and keyvault must exist in the same region or I get an error like this: New-AzureRmResourceGroupDeployment : 9:24:55 AM - Resource Microsoft.Compute/virtualMachineScaleSets 'StdNode' failed with message '{ "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource

Unable to access Key-Vault using Azure Portal

試著忘記壹切 提交于 2021-01-29 11:11:41
问题 I have inherited a Azure project and is struggling with accessing some of the information in it. There are multiple keyvault which I need to get into, but I dont have access, and I dont understand why as I am the project owner. I am signed in as the user with the OK profile picture. If I go to Keys or secrets I get the following error: The operation "List" is not enabled in this key vault's access policy. Network access is set to "All networks" So I go to access policies to give myself access

Retrieve Azure KeyVault secret using client secret

我的梦境 提交于 2021-01-29 10:33:01
问题 I'm experimenting with various Azure features and currently want to retrieve a secret from KeyVault. Straight to the case: I'm using this nuget package to interact with my azure resources. I've developed a simple .NET Core console app and run it locally. I have a KeyVault resource with one secret defined which is active and not expired. I've registered an App in AAD so my locally shipped .NET Core console app has an identity within AAD. Than I've created a "client secret" within this