如何进行密码保护一个部署在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
。
更多信息,请参考下面的文档:-
https://learn.microsoft.com/en-us/azure/static-web-apps/password-protection
因此,按照上述文档步骤,您可以为单个用户/访问者配置部署在容器上的azure web应用程序的密码保护。