Authentication in the API Gateway Websocket API
To perform operations via the API, you need to get an IAM token:
- Instructions for a Yandex account.
- Instructions for a service account.
- Instructions for a federated account.
Specify the received IAM token when accessing Yandex Cloud resources via the API. Pass the IAM token in the
Authorization header in the following format:
Authorization: Bearer <IAM token>