Access management in Yandex IoT Core
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
You can assign a role for a cloud or folder. These roles also apply to nested resources.
Which roles exist in the service
The list below shows all roles that are considered when verifying access rights in the Yandex IoT Core service.
Service roles
iot.devices.writer
The iot.devices.writer
role grants permission to send gRPC messages to Yandex IoT Core on behalf of a device.
iot.registries.writer
The iot.registries.writer
role grants permission to send gRPC messages to Yandex IoT Core on behalf of a registry.
iot.auditor
The iot.auditor
role allows you to view metadata about devices and device registries, as well as brokers and quotas in Yandex IoT Core.
iot.viewer
The iot.viewer
role allows you to view all Yandex IoT Core resources.
iot.editor
The iot.editor
role allows users to create, edit, and delete all Yandex IoT Core resources.
For more information about service roles, see Roles in the Yandex Identity and Access Management service documentation.
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.