Azure函数无法在VNET-公共网络访问中访问密钥库

发布于 2025-01-28 19:46:30 字数 369 浏览 3 评论 0原文

我有一个与VNET集成(具有单个子网)的函数应用程序。我在同一子网中也有两个服务端点,用于存储帐户和钥匙库。

使用密钥访问存储帐户,并在VNET上使用无问题。

密钥库有一个指定的访问策略,以使函数应用程序托管身份访问列表并获取秘密。当我从保险库中获取秘密时,我会收到以下消息:

“禁用了公共网络访问,请求不是来自受信任的服务,也不是通过批准的私人链接。”

功能应用程序 - > vnet->服务端点(存储 /库)

| - >使用存储密钥-OK

| - >使用金库和托管身份 - > “禁用公共网络访问...”

功能应用在VNET中。我需要其他路由吗?

请建议我很难过。谢谢

I have a function app that is integrated with a Vnet (with a single subnet). I also have two service endpoints in the same subnet for a storage account and key vault.

The storage account is accessed with a key and works on the vnet without issue.

The key vault has an access policy specified to give the function app managed identity access to list and get secrets. When I fetch a secret from the vault, I get the following message:

"Public network access is disabled and request is not from a trusted service nor via an approved private link."

Function app -> Vnet -> service endpoints (Storage / Vault)

|-> Uses Storage Key - OK

|-> Uses Vault and managed identity -> "Public network access is disabled ..."

Function app is in the Vnet. Do I need additional routing?

Please advice as I am stumped. Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

oО清风挽发oО 2025-02-04 19:46:30

我使用完全相同的设置重新创建了保险库,并且可以按预期工作。很奇怪。关于防火墙路由,保险库配置中的某些东西一定破裂。

I recreated the vault with the exact same settings and it worked as expected. Very weird. Something must have broken in the Vault configuration with regards to the Firewall routing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文