Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Cloud Organization
  • Getting started
  • Managing organizations
    • Creating an organization
    • Editing organization data
    • Switching to another organization
  • Managing users
    • Overview
    • Add a user
    • Get the user's ID or email
    • Assigning access rights
    • Deleting a user account
  • Managing user groups
  • Managing identity federations
    • Configuring an identity federation
    • Authentication using Active Directory
    • Authentication using Google Workspace
    • Authentication using Azure Active Directory
    • Authentication using Keycloak
    • Authentication using an SAML-compatible identity federation
  • Managing clouds and services
  • API reference
    • Authentication
    • gRPC
      • Overview
      • GroupService
      • OrganizationService
      • UserService
      • CertificateService
      • FederationService
      • OperationService
    • REST
      • Overview
      • Group
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listMembers
        • listOperations
        • setAccessBindings
        • update
        • updateAccessBindings
        • updateMembers
      • Organization
        • Overview
        • get
        • list
        • listAccessBindings
        • listOperations
        • setAccessBindings
        • update
        • updateAccessBindings
      • User
        • Overview
        • deleteMembership
        • listMembers
      • Federation
        • Overview
        • list
        • get
        • listUserAccounts
        • delete
        • addUserAccounts
        • update
        • listOperations
        • create
      • Certificate
        • Overview
        • list
        • get
        • delete
        • update
        • listOperations
        • create
  • Pricing policy
  1. Managing identity federations
  2. Configuring an identity federation

SAML-compatible identity federations

Written by
Yandex Cloud
,
improved by
Artёm S.
  • Configuring up federations in Yandex Cloud Organization
  • Authenticating in a federation

Yandex Cloud supports SAML 2.0-based identity federations. This is a popular markup language to enable Single Sign-On (SSO), a technology that lets users access multiple apps without having to enter their username and password every time. For example, whenever you visit a website and see the Sign in with Yandex, Google or Facebook buttons, these are examples of the Single Sign-On system at work.

This approach is called identity federation, it's when all the information about usernames and passwords is stored by a trusted Identity Provider (IdP). While a service provider (SP), such Yandex Cloud, sends users to the identity provider's (IdP's) server for authentication.

If your company has a user and access management system (for example, Active Directory or Google Workspace), you can use it to authorize employees in Yandex Cloud Organization. In this case, you don't need to create a new Yandex account for every company employee. They can get access to Yandex Cloud services using their corporate accounts.

Configuring up federations in Yandex Cloud Organization

Using identity federations, you can configure a Single Sign-On system (Single Sign-On, SSO) and use corporate accounts to authorize in Organization. In this case, your corporate account management system acts as an identity provider (IdP).

In Organization, you can create an identity federation with any credential management service (identity provider) that supports the SAML protocol.

Information about user logins and passwords is stored by the identity provider. When a user logs in to Organization, they're directed to the identity provider (IdP) server for authentication. If authentication is successful, the user gets access to Yandex Cloud services.

Since authentication takes place on the IdP server's side, you can configure a more secure user data verification, such as two-factor authentication or USB tokens.

You can set up identity federations for different identity providers:

  • Active Directory.
  • Google Workspace.
  • Azure Active Directory.
  • Keycloak.
  • Other SAML-compatible identity providers.

Authenticating in a federation

To log in to the management console, federated users must follow the link with the federation ID:

https://console.cloud.yandex.com/federations/<federation ID>

The authentication process is shown in the diagram:

  1. The user opens a console login link in the browser.

  2. If this is the first time the user authenticates, the console redirects them to the IdP server for authentication.

    If the user was already authenticated, this information is saved in the browser cookie. If the cookie is still valid, the management console authenticates the user immediately and redirects them to the home page. The cookie lifetime is specified when the federation is created.

    If the cookie expires, the console forwards the user to the IdP server for re-authentication.

  3. The IdP server shows the authentication page to the user. For example, it prompts them to enter their username and password.

  4. The user enters the data required for authentication on the IdP server.

  5. If authentication is successful, the IdP server sends the user's browser back to the management console login page.

  6. The management console asks IAM whether this user is added to the cloud. If the user is added, the management console authenticates the user and redirects them to the home page.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Configuring up federations in Yandex Cloud Organization
  • Authenticating in a federation