DEV Community

Kenichiro Nakamura
Kenichiro Nakamura

Posted on

2

Read Certificate from Key Vault from Azure App Service by using Managed Identity

We often use Azure Web App and Key Vault together to protect keys/secrets/certificates.

To read certificates from Key Vault by using system assigned managed identity of App Service, there are several things to do.

Enable Managed Identity

From WebApp, enable managed identity.

Image description

Grant Access in KV

From Key Vault access policy, assign certificate get permission (or any other additional required permissions) for the managed id.

WEBSITE_LOAD_USER_PROFILE for Configuration

From WebApp configurations menu, add WEBSITE_LOAD_USER_PROFILE application setting and set value to 1.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay