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

More than 5 years have passed since last update.

AzureでWeb appからKeyvalutを使う時のパーミッション設定

Posted at

AzureでWeb appからKeyvalutを使う方法は、
本家のドキュメント
に記載されてますが、これだけではアクセスできませんでした。

Keyvalutへのアクセス許可を設定する必要があります。

1.AzureのPortalからアクセスしたいApp ServiceのIdentityを開き、StatusをOnにする。変更すると、Object IDが割り当てられて表示される。

2.Azureのshellからgetのパーミッションを追加する(xxxxxxxxxxxxxxxxxxxxxxは1.で得たObject ID)

$ az keyvault set-policy --name "keyvalutの名前" --object-id xxxxxxxxxxxxxxxxxxxxxx --secret-permissions get
0
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
0
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?