Diagram

A sequence diagram showing a principal submitting credentials to the authentication system, receiving a token, and sending a request to the Google API, which verifies the token and checks IAM authorization before allowing the method. The animation traces each message in order to show that authentication proves identity first and IAM grants authorization second.
Authentication and Authorization
Authentication and authorization are two separate steps that control access to Google Cloud. Authentication verifies identity by proving who or what is making the request, while authorization determines what that verified identity is allowed to do on a resource. In Google Cloud, authentication supports user accounts for people and service accounts for workloads, and authorization is then checked in IAM before an API method is allowed.
For each request, a token flows from the authentication system to the Google API and carries both the identity of the principal and the type of access it is authorized for. The token is a digital object that shows the caller provided proper credentials and was issued proof in return. The API checks the token to confirm the identity is authenticated and then checks IAM to confirm the identity is authorized for the requested method.
Domain 5 of 5
27 practice questions
Practice this DomainLast updated