Skip to content

Instantly share code, notes, and snippets.

@andrewmatveychuk
Created June 24, 2024 09:38
Show Gist options
  • Save andrewmatveychuk/5949b3497182f9a5aa466998b88e8cf7 to your computer and use it in GitHub Desktop.
Save andrewmatveychuk/5949b3497182f9a5aa466998b88e8cf7 to your computer and use it in GitHub Desktop.
An appsettings.json file to authenticate to Azure resources using a system-assigned managed identity
{
"KeyVault": {
"vaultUri": "https://kv-4zdnwe1wgbwdp.vault.azure.net", // Your Key Vault URI
"credential": "managedidentity" // Using the system-assigned managed identity of your Azure Arc-enabled server
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment