Authentication in the Yandex IoT Core Broker API
Written by
Updated at June 15, 2026
Warning
Yandex IoT Core is no longer available to new users.
Current users can create resources until November 1, 2026. Afterwards, the service will go read-only and cease to operate on December 1, 2026. For more information on the timing and procedure, see Service shutdown.
Before you can work with the API, you need to get an IAM token:
- Guide for Yandex accounts.
- Guide for a service account.
- Guide for a federated account.
- Guide for a local account.
Specify the received IAM token when accessing Yandex Cloud resources via the API. Provide the IAM token in the Authorization header in the following format:
Authorization: Bearer <IAM_token>
If you have saved your IAM token to a variable, use the latter:
Authorization: Bearer ${IAM_TOKEN}