OAuth token

In Yandex.Cloud, an OAuth token is used to authenticate when getting an IAM token.

You can get an OAuth token to work with Yandex.Cloud by sending a request to the Yandex.OAuth service.

Lifetime

The validity period of an OAuth token is one year. Then you must get new OAuth token and repeat the authentication process.

Warning

If someone might have discovered your OAuth token, revoke it and request a new one.

Services and utilities that support OAuth token authentication

These services and utilities can request an IAM token automatically, so you can only specify an OAuth token for authentication:

See also