【问题标题】:Basic access Auth Enable in Azure Application gateway for URL在 Azure 应用程序网关中为 URL 启用基本访问身份验证
【发布时间】:2021-10-06 00:14:12
【问题描述】:

在 Nginx 中,我们可以通过在 ingress 中添加注解来设置基本身份验证。

nginx.ingress.kubernetes.io/auth-realm: Authentication Required
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-type: basic

但是如果我们使用 azure 应用程序网关而不是 Nginx,我们如何设置基本身份验证。

【问题讨论】:

    标签: azure kubernetes azure-application-gateway


    【解决方案1】:

    不幸的是 Azure 应用程序网关 不支持 基本身份验证,我会说使用 ingress 控制器nginx-ingress 在您需要此功能的情况下是正确的选择。 this thread 中已经报告了 Azure 应用程序网关 中缺乏对身份验证的支持。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-03
      相关资源
      最近更新 更多