API key
Written by
The API key is a private key used for simplified authorization in the Yandex Cloud API. API keys are only used for service accounts.
API keys do not expire. This means that this authentication method is simpler, but less secure. Use it if you can't automatically request an IAM token.
Alert
If someone might have gotten access to your private key, delete it and create a new one.
Using the token
Enter the API key when accessing Yandex Cloud resources via the API. Pass the API key in the Authorization
header in the following format:
Authorization: Api-Key <API key>