Many computer systems, related to authorization and permissions uses word 'principal' as term to describe 'user' or 'member'.
I can't get connotation here. Principal is a 'school boss', or 'body of the credit', etc. Why user (entity to get permission) is named 'principal'?
Example of use, if someone is not familiar with IT:
In IAM [Identity and Access Management, f.e. in Amazon Web Services and Google Cloud Platform], permission to access a resource isn't granted directly to the end user. Instead, permissions are grouped into roles, and roles are granted to authenticated principals. (In the past, IAM often referred to principals as members. Some APIs still use this term.)
What's the origin of this meaning (the user)? What it should reference to in the mind of the reader?