Authentication with the Yandex MPP Analytics for PostgreSQL API
Written by
Updated at March 5, 2026
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}
See also
Greenplum® and Greenplum Database® are registered trademarks or trademarks of Broadcom Inc. in the United States and/or other countries.