Reputation: 70307
How do I give someone permission to publish an ASP.NET MVC website to Azure without just handing over my personal credentials?
Upvotes: 6
Views: 6788
Reputation: 7392
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.
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.
Read more about how to setup RBAC in Azure Websites and Publishing here
Upvotes: 6
Reputation: 5496
Your options depend on:
Websites have a bit more flexibility than Cloud Services and if you use the Publishing Profile approach the user will need to be added to your Azure Subscription as a co-admin (this will change in future but is a restriction today).
Upvotes: 2