用于容器的Azure Web应用程序:如何密码保护



如何进行密码保护一个部署在Azureweb App for Containers的演示web应用程序?

我们现在不需要详细的用户管理。使用标准密码的单个用户就足够了。

感谢

•您可以密码保护' Azure Web App for Containers '对于试图访问该Azure web应用程序的配置设置、应用程序设置和常规设置的访问者或任何成员. 为此,请参考下面的文档链接,通过Azure DevOps构建管道,并通过yaml文件成功地为容器创建Azure web应用程序:-

https://learn.microsoft.com/en-us/azure/devops/pipelines/apps/cd/deploy-docker-webapp?view=azure-devops&标签= java % 2 cyaml

在上面的链接中,您必须使用deploy the sample web app to container through the ‘YAML’ code but before that, you will have to build and publish a Docker image to Azure Container Registry and retrieve the image from the container registry by uploading that image through Azure DevOps via Github

•一旦完成上述操作,请导航到"Web App for Container">通过Azure门户创建,然后转到' Settings ->配置——比;一般设置——>密码保护部分——>选择"仅保护登台环境"或"同时保护生产和登台环境"以保护所有环境——>在"访客密码"中输入密码,并使用所需的密码参数—>确认访客密码——>保存">

更多信息,请参考下面的文档:-

https://learn.microsoft.com/en-us/azure/static-web-apps/password-protection

因此,按照上述文档步骤,您可以为单个用户/访问者配置部署在容器上的azure web应用程序的密码保护。

最新更新