concept service principal in category azure

This is an excerpt from Manning's book Azure Storage, Streaming, and Batch Analytics: A guide for data engineers.
When adding a data source through the Azure portal, the Add Data Source dialog handles credentials for Blob Storage. Connections to Data Lake stores from ADLA occur at the job level. Each job will be submitted by an authorized AAD entity, either a user account or a service principal for a service like Azure Data Factory. ADLA passes credentials to the Data Lake store for the user executing the jobs. For jobs connecting to Blob Storage, ADLA uses the stored access key for the data source.
AAD integrations use two methods: a key-based method called a service principal, and a service-based method called a managed identity.
The service principal is an entity you create in AAD, similar to a user account. It provides an identity for authentication and authorization that can be used by services requesting or providing access. The service principal must be given access to Azure services, just like a user account. Using AAD integration with ADF lets you create a single credential, instead of many, for use with multiple Azure services.
To create a new service principal for ADF, we’ll use a template called an App registration. The App registration defines credentials and authorization methods for an application or applications, and the service principal identifies the application or applications. Instead of a username and password, applications use the application ID and a secret key to get an authentication token from the service principal.
When Azure services are created in AAD, a managed identity is created for them. Unlike App registrations, managed identities can be used by only a single Azure service. Managed identities also must be given access to Azure services, just like a user account or service principal.