简体   繁体   中英

Service principal or Managed Identity

I have a client that can only give me full access to one or two resource groups.

I need to deliver some prescripted terraform resources that contain the need for a service principal.

Can you lock an SP to a resource group? The subscription itself is a production subscription so they want to know if you can tie down using role base access just to that group.

Or should I be create a MI account?

Can you lock an SP to a resource group?

You most certainly can. Azure Role-based access control is very granular and you can apply access control at any level (management group, subscription, resource group or even at individual resource).

Please see this for more details: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-steps .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM