principal

The identity making a request, such as a user, a role session or a service, that an access policy allows or denies.

In more detail

Policies attached to a resource or a role must say which principal they cover; in AWS this goes in a Principal field. A service principal names a cloud service, such as ecs-tasks.amazonaws.com, that may act on your behalf. A too broad principal lets unexpected identities in.

Example

Policies name principals, and the course asks which permissions let a principal grant itself more, such as creating roles or attaching policies.

Related terms

Taught in

References

Certification courses