Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created December 15, 2017 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/d072ba1170421ebd1b7ce31bd50a799c to your computer and use it in GitHub Desktop.
Save justinyoo/d072ba1170421ebd1b7ce31bd50a799c to your computer and use it in GitHub Desktop.
Dynamic Access to Azure Functions Host Keys without KUDU
$masterKeyEndpoint = "/host/systemkeys/_master"
$masterKeyUri = $functionAppBaseUri + $masterKeyEndpoint
$masterKey = Invoke-RestMethod -Method Get -Uri $masterKeyUri -Headers $adminTokenHeader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment