Skip to content
Short and simple example implementation of using a Managed Identity to connect to Azure resources
C#
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ManagedIdentityExample.ConsoleApp
ManagedIdentityExample.Functions
.gitignore
LICENSE
ManagedIdentityExample.sln Updated NuGet package Aug 19, 2019
README.md

README.md

Connecting to Azure Resources using Managed Identity

This repo contains some short and quite simple example implementations of using a Managed Identity to connect to Azure resources.

Azure Resources currently implemented

  • Key Vault
  • Azure SQL
  • Service Bus
  • Azure Storage

Gotcha's

There are a few gotcha's in the implementations. Looking at the Function implementations, connecting to three different types of Azure Resources requires three different types of implementation. For now, they will be documented/explained in comments.

For more information, have a look at my blog, where I'm currently posting a series on using Managed Identity:

Managed Identity - Part I

This blog post shows you the basics of Managed Identities for Azure Resources, how to create them and how to give them access rights.

Managed Identity - Part II

This blog post shows you how to connect your application to different types of Azure resources using Managed Identity.

Managed Identity - Part III

Normally debugging something when running it locally shouldn’t deserve its own blog post. With Managed Identity there are some things to take into account when debugging since it heavily depends on the Azure platform. This blog post explains it all.

You can’t perform that action at this time.