API key

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.

Warning

If someone might have gotten access to your private key, delete it and create a new one.

Services that support this authentication method

For information about how to use an API key for authentication, read the documentation on the services that support this authorization method:

See also