问题描述
如何授予某人权限,而不必交出我的个人凭据即可将ASP.NET MVC网站发布到Azure?
How do I give someone permission to publish an ASP.NET MVC website to Azure without just handing over my personal credentials?
推荐答案
使用新的Azure资源管理器(ARM),您可以使用基于角色的访问控制(RBAC)授予用户对您所访问的特定Azure资源的特定访问权限自己的.
Using the new Azure Resource Manager (ARM) you can use Role Based Access Control (RBAC) to grant a user a certain access on a certain Azure resource that you own.
共有3种默认的RBAC角色:Owner
,Contributor
和Reader
.如果您希望用户能够发布到某个站点而又不给他们自己的个人信誉,那么您应该可以将Contributor
添加到该特定站点,然后他们就可以在门户网站中看到该站点并使用自己的站点发布凭证.
There are 3 default RBAC roles: Owner
, Contributor
and Reader
.If you want a user to be able to publish to a site without giving them your personal creds you should be able to add then as a Contributor
to that particular site and they will be able to see that site in portal and use their own publishing credentials.
与共同管理员相比,这是一种更为精细的方法,在该方法中,共同管理员将有权访问您的整个订阅.
This is a much more granular approach than co-admin where the co-admin will have access to your entire subscription.
了解有关如何设置RBAC的更多信息在Azure网站和此处发布
这篇关于如何授予将网站发布到Azure的权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!