Skip to main content

Authentication methods in Selectel products

Last update:

Authentication is required when working with Selectel products:

Authentication in the control panel

Two independent factors are used to sign in to the control panel:

  • the first factor is an email address and a user password;
  • the second factor — a two-step authentication code, which can be retrieved from your list of backup codes, from an authenticator app, or via email.

Two-step authentication is enabled by default for all users. If you are an Account Owner, you can disable two-step authentication for your account and sign in using only the first factor. Other users cannot disable two-step authentication; they can only choose how to receive the second factor.

Authentication for API and tools

To authenticate requests to the Selectel product API, depending on the API and user type, you can use:

  • IAM token (X-Auth-Token) for an account or project — generated on demand at the time of authentication, has a limited lifetime, and is supported in the API of most Selectel products;
  • or a static token (X-Token, API key) — has no lifetime limit and is designed for working with APIs that do not yet support IAM tokens.

You can see which tokens are supported for each API and how to issue a token in the Request authentication section of the API documentation. If an API supports both an IAM token and a static token, we recommend using the IAM token.

In some cases, to authenticate when accessing third-party APIs and using automation tools, you can use:

Comparison of authentication methods

Authentication methodAccess providedWho can use itLifetime
IAM token for an accountAccount resource managementService user24 hours
IAM token for a projectProject resource managementService user24 hours
Static token (X-Token, API key)Account resource managementUserUnlimited
S3 key (EC2 key)

Management:

  • service user (recommended);
  • user
Unlimited
Name and password of a service user

Management:

Service userUnlimited