Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
WebAppsWithoutSecrets
deployment
WebAppsWithoutSecrets.sln
readme.md

readme.md

Web Application Without Secrets

Description

ASP.Net Core Web application (WebAppsWithoutSecrets) which lists blobs (URIs only) from a container (demoblobs) in the Storage Account. In this sample, web app doesn't have any connection string or key to talk to Storage Account. However, Azure KeyVault has the ConnectionString to the Storage Account stored as a secret. Web Application fetches this ConnectionString from Azure KeyVault using Managed Service Identity (MSI)

The Container is created when application starts and a dummy blob is created as well.

The ARM Template does the following:

  • provisions a Storage Account
  • provisions the KeyVault
  • provisions the web application
  • adds 'StorageAccountConnectionString' as a Secret in the KeyVault
  • sets access policy in Azure KeyVault for the web application
  • sets the name of the KeyVault in application settings
You can’t perform that action at this time.