I am trying to use Azure Key Vault to store the connection string for my web app.
My first step was to create a managed identity for my app service.
Having done this and having an object ID available I navigate to my key vault and grant the…
I have a python 3.8 application deployed on a kubernetes cluster on azure that has to access a blob storage container in an account in a different resource group. I'm using a managed identity to authenticate and query the container:
from…
I was trying to upload a file to Azure file share using my C# code. using the Managed identity. The code will be deploying to an azure VM which has managed identity with the Storge account. how to connect using a console app via…
I found sample code from Microsoft docs but it doesn't seem to work.
If anyone has any insight that would be helpful.
Also the broad question is if that is even possible.
As the NodeJS uses Tedious library, it's not clear if Tedious is able to…
Is there a way where to attach an AWS IAM profile to an Azure VM.
I'm trying to develop a common infrastructure for Azure and AWS and i want to use resources which are in AWS from an Azure VM.
I know this can do this by exporting AWS creds to Azure…
I had deployed my application in the Azure Linux environment.
I followed the official python example: https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=python
import os
import requests
identity_endpoint =…
Short version
I want to avoid username/passwords/secrets/key valults/etc. by using Managed Identity, in a PowerShell script, running on Azure Functions.
It seems to fail on:
Import-Module Microsoft.Graph.Authentication
Connect-MgGraph -Scopes…
I am trying to create an instance of AKS Container Service with managed identity using an ARM template.
No problems if I use the az CLI:
az aks create -g "sa-rg" -n "aks-cluster" --enable-managed-identity
However I cannot obtain the same result…
I am able to read keyvault secrets through Azure function managed identity using below URI.
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/)
I have provided get and set secrets access to FA managed identity using…
I am using azure managed identity and below code generates the required token to authenticate the api's. I am using
var credential = new ManagedIdentityCredential();
var…
I have the the following cobbled together from various sources in my devops pipeline:
$MIName= "my-identity-test-mi"
$RGName = "my-identity-test-rg"
$Location = "eastus"
$GraphAppId = "00000003-0000-0000-c000-000000000000"
$PermissionName =…
I am trying to set a secret in azure keyvault using managed identity. There are two problems which I am facing right now. Hope someone can help me with it.
Code:
var client = new SecretClient(new Uri("keyvaulturl"),
new…
I am trying to create blob container under storage account using REST api
I am using managed identity (for app service, node application) to interact with storage account. This managed identity has necessary permission on resource group and storage…