IAM Roles Flashcards
roles
define the can do what on which resource part of Cloud IAM.
is a named list of permissions defined by IAM
There are three types of roles in Cloud IAM
There are three types of roles in Cloud IAM, basic roles, predefined roles, and custom roles.
basic roles
Basic roles are the original roles that were available in the Cloud console, but they are broad.
You apply them to a Google Crowd project, and they affect all resources in that project.
The basic roles are the owner, editor and viewer roles and billing administrator role
basic roles who can do what
The owner has full administrative access.This includes the ability to add and remove members and delete projects.
The editor role has modify and delete access.This allows the developer to deploy applications and modify or configure its resources.
The view role has read only access.
billing administrator role manage billing and add or remove administrators without the right to change the resources in the project.
basic roles are concentric except billing rolle
That is the owner role includes the permissions of the editor role.
And the editor role includes the permissions of the viewer role.
predefined roles
Define where the roles can be applied. Provide members with granular access to specific GCP resources and prevent unwanted access to other resources.
These roles are a collection of permissions, because to do any meaningful operations, you usually need more than one permission.
example GSP service role
instance admin role on a project
provides the users of that group:
compute.instances.delete
compute.instances.get
compute.instances.list
compute.instances.setMachineType
compute.instances.start
compute.instances.stop
….
permissions themselves are classes and methods in the API’s
The permissions themselves are classes and methods in the API’s
For example:
compute.instances.start
can be broken down into the service, resource and verb.
That mean that the permission is used to start a stopped Compute Engine instance.
Which permissions Network Admin role has
permissions to create, modify and delete network resources, except for firewall rules and SSL certificates. (read only access to firewall rules SSL certificates, and instances to view their ephemeral IP addresses.)
The storage admin role contains
permissions to create, modify, and delete disks, images, and snapshots.
which roles allow you to define least privileged permission model
custom roles, they are even even finer grained