The subject or principal is an entity in the system to which access controls and permissions are granted for the perusal of the resources in the system.
For example, a user logging into the Web console is a principal or a subject. A service account consuming AWS SDK to interact with AWS resources is a principal.