LoginSignup
3
2

More than 5 years have passed since last update.

Azure Functionsでの API Key認証まとめ

Posted at

HTTPトリガー時のAPI Key認証について、ちょっとはまったのでメモを残しておきます。

standard webhook 鍵の指定方法
Authorization level function - URLクエリストリングのcodeに指定(Function Urlにアクセス)
Authorization level anonymous - なし
Authorization level admin - URLクエリストリングのcodeに指定(data\secrets\host.jsonのmasterKeyの値)
webhook type - GitHub Github Secretの値をGitHubサイト側にも設定
webhook type - GenericJSON URLクエリストリングのcodeに指定(Function Urlにアクセス)
webhook type - slack slackサイトのIntegration SettingsのTokenの値でdata\secrets\<Function App名>.jsonを書き換える

webhook typeのslackはstandard editorでは選択できないので、Advanced editrを使う必要があります。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2