Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created December 15, 2017 04:04
Show Gist options
  • Save justinyoo/a26b15941c7af4e1565e547e2098d55e to your computer and use it in GitHub Desktop.
Save justinyoo/a26b15941c7af4e1565e547e2098d55e to your computer and use it in GitHub Desktop.
Dynamic Access to Azure Functions Host Keys without KUDU
$hostKeysEndpoint = "/host/keys"
$hostKeysUri = $functionAppBaseUri + $hostKeysEndpoint
$hostKeys = Invoke-RestMethod -Method Get -Uri $hostKeysUri -Headers $adminTokenHeader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment