1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Azure FunctionsのLocalGitでのデプロイ時の認証情報

Posted at

この記事は?

  • 1か月ぶりにAzure Functionsにアプリをデプロイしようとしたら、Azure Portalの仕様が変わっていて、かなり戸惑ったので記事に残しておく
  • いつもあったはずの、Gitデプロイに使うID/パスワードが、Azure Portal上に載らなくなってしまったようだ

Azure 仕様変化

  • 変化前:Azure Portal上から確認できた
    image.png

  • 変化後:消えている!
    image.png

対応方法

  • az login 後に以下を実行することで取得できる
az webapp deployment list-publishing-credentials --resource-group <group-name> --name <app-name> --query scmUri
  • 取得例(レスポンス)
  • この例では以下となる
    • ID : $your-git-id
    • PW : xxxxxxxxxxxxxxxxxx
"https://$your-git-id:xxxxxxxxxxxxxxxxxx@your-app-name.scm.azurewebsites.net"

リファレンス

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?