I am working with an Azure Function that needs to authenticate into an API /APP Service with using JWT.
I have been looking around a LOT of examples and settled on this as being the most appropriate
public string GenerateToken()
{
var credential…
I have a problem in which I cannot reach my company's Container registry via Azure Container Instances and Azure Container Apps, which has to do with VNET's and a private link to the company's registry, and the fact that dynamically launched…
I have a C# azure function on .NET 6 running in dotnet-isolated mode. This function calls another azure function, which is using Azure AD Authentication. In order to generate the token I have the following code:
var audience =…
I have researched the way to push docker images from gitlab container registry to an azure resource: Pushing Docker image from gitlab-ci to Azure Container Registry
I have also found the documentation to create managed identities (both…
I need to call a Http Azure Function from another Azure Function.
At present, I call an Azure Key Vault to get the target Function's Key, and put that in the URL as documented here:…
I am currently trying to deploy out a resource group using azure bicep, however, I am running into an issue using key vault for my azure app service. I would like to know if I am actually doing this the correct way. I have a main bicep file that is…
I am trying to use 'User-managed identity' with my function app. The managed id has contributor access at resource-group level where function is hosted. It's a powershell function and at the moment it only has
Write-Host "Hello World"
When I run my…
I'm trying to utilize AAD identities to access Azure SQL server instead of SQL server users.
I was following this article https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure.
What I need to do based on Microsoft…
I have a PowerShell script that creates an Azure API Management service with a custom HTTPS domain using an SSL certificate stored in an Azure key vault. I'm converting it to Terraform but running into a problem.
Terraform creates the APIM with a…
I am trying to run a runbook to start a VM using a managed identity. With a runas account it works but because Microsoft says it recommended to use a managed identity, I want to try it.
This is part of the script that I got from internet and that…
Can we use managed identities with databricks? What I'm actually trying to achieve is, I have a cluster in databricks, I want it to be able to access secrets or keys stored in an azure key vault.
We generally perform this with VM, by enabling the…
I am using ChainedTokenCredential and trying to get managed identity token in local debug environment using Visual Studio 2019. In windows terminal I already logged in using Azure CLI az login.
var credential = new ChainedTokenCredential(
…
I am trying to use managed identity of Azure function to access AAD protected web app, which requires a custom flow instead of using different clients. So the first step is to obtain an access token:
credential = DefaultAzureCredential()
scope =…
Goal: Prevent the use of client ID and secrets when making calls to Graph API.
Is either of the following possible?
Use Azure Managed Identity (that has been given Microsoft Graph API permissions) in applications using Azure B2C for Authentication.…
I have a Java Spring boot application that just reads the secret from Azure Key Vault, below are steps used
Created an Application Registration
Copied the App Registration details
Generated Secret
Granted access on Azure Key Vault
and…