Skip to content

hardikv-github/azure-key-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

How to retrieve AzureKeyVault Secret using C#

Step1: Create App Registration image

Step2: Go to API Permission, Click on "+ Add a permission", Select Azure Key Vault image

Step3: Select Delegated permissions and check user_impersonation image

Step4: Click on "Grant admin consent for Default Directory" image

image

Step5: Create Client Secret image

This Secret will be used in C# for retrieve Key Vault Value image

Step6: Create Key Vault image

Select "Vault Access Policy" as Permission Model image

Click next, next and Create. Once deployment is completed click on "Go to Resource" image

Step7: Click on Access Policies and Create image

Select "Key & Secret Management" image

Select App Registration(AppRegistration for Key Vault) which is created in Step1 image

Click Next and Create Key Vault image

Step8: Create Secret for Key Vault image

image

Step9: Get Info for Code from AppRegistration image image

Step10: Get Vault Info for Code image image

About

Retrieve Azure Key Vault Secret using C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages