在单独的 Azure Web 应用程序中使用 Azure Key Vault

Using Azure Key Vault in a separate Azure Web App

我在 Azure 上的资源组中设置了一个 Web 应用程序,它与 Azure Active Directory 没有任何连接。

我已将 Azure Key Vault 添加到放置 Web 应用程序的同一资源组中。问题是我找不到在我的 Web 应用程序中使用 Azure Key Vault 的方法。我找到的所有文档都在解释如何将它与 Active Directory 中的应用程序一起使用。

Azure Key Vault 是否适用于单独的 Web 应用程序?如果是这样,我如何在我的应用程序中使用它。我将设置 Drupal 并使用 Azure Key Vault 保护密钥。

如果有人能告诉我一条前进的道路,那就太好了。

引用 the doc:

Applications that use a key vault must authenticate by using a token from Azure Active Directory. To do this, the owner of the application must first register the application in their Azure Active Directory.

此外,目前 PHP SDK 不支持 Key Vault。参见 Keyvault support #898. You'll need to work with it by using REST API