Access management in Cloud Functions
In this section, you will learn:
About access management
In Yandex Cloud, all transactions are checked in Yandex Identity and Access Management. If a subject does not have the required permission, the service returns an error.
To grant permission for a resource, assign roles for this resource to the subject that will perform operations. Roles can be assigned to a Yandex account, a service account, federated users, a user group, or a system group. For more information, see How access management works in Yandex Cloud.
Only users with the admin
, resource-manager.clouds.owner
, or organization-manager.organizations.owner
role for a resource can assign roles for this resource.
Which resources you can assign a role for
Roles can be assigned for a cloud, folder, and function. Roles assigned to a cloud or folder also affect the functions that are located there.
Which roles exist in the service
The list below shows all roles that are considered when verifying access rights in the Cloud Functions service.
Service roles
functions.auditor
The functions.auditor
role allows you to view a list of functions and all their details, except the function version code and environment variables.
functions.viewer
The functions.viewer
role allows you to view the function list and details.
functions.functionInvoker
The functions.functionInvoker
role allows you to invoke functions.
functions.editor
The functions.editor
role allows you to create, edit, and delete functions, as well as create function versions.
functions.mdbProxiesUser
The functions.mdbProxiesUser
role allows you to connect to managed databases from a function.
functions.admin
The functions.admin
role allows you to manage function access settings.
Primitive roles
auditor
Grants permission to view service configuration and metadata without access to data.
viewer
Enables you to view information about resources.
editor
Allows you to manage resources, e.g., create, edit, and delete them.
admin
Allows you to manage your resources and access to them.
For more information about primitive roles, see Roles.