Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 2.03 KB

12-practice.md

File metadata and controls

27 lines (22 loc) · 2.03 KB

#12 Secure Service Connections & Service Principals

  • Service Principals are the system identities used when doing anything in an Azure subscription
  • Service Principals are used in Service Connection to allow Task to do their work
  • Keep the keys safe!
  • Limit the permissions and scope accordingly
  • Service Connection default wizard will use your user and create a - Service Principal, which probably not what you want...
  • Use ”Advanced Mode” in Service Connections Setup
    • Allows you to specify a specific Service Principal
    • Consider whether you want to set the Service Connection ”Allow all pipelines to use this endpoint” option
  • You can use Management Group to control access across multiple subscriptions
  • Familiarize yourself with the build and release permissions and security roles
    • For permissions, you grant or restrict permissions by setting the permission state to Allow or Deny, either for a security group or an individual user
    • You can control who can define new service connections

Links