Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity Hub
    • All guides
    • Subscribing a user to notifications
      • Overview
      • Configuring an identity federation
      • Configuring a federated user group mapping
      • Renewing a Yandex Cloud SAML certificate
      • Setting up a domain in an identity federation
      • Deleting an identity federation
    • Billing management in Yandex Identity Hub
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • Associating a domain
  • Getting a list of domains
  • Viewing information about a domain
  • Deleting a domain
  1. Step-by-step guides
  2. Managing identity federations
  3. Setting up a domain in an identity federation

Setting up a domain in an identity federation

Written by
Yandex Cloud
Updated at November 2, 2026
View in Markdown
  • Associating a domain
  • Getting a list of domains
  • Viewing information about a domain
  • Deleting a domain

A domain allows you to authenticate through Login Discovery. When authenticating, a user with your domain will be redirected to your identity federation.

Associating a domainAssociating a domain

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click Federations and select a target federation.
  3. Navigate to the Domains tab.
  4. In the top-right corner, click Add domain.
  5. Enter the domain name.
  6. Click Add.

To use the domain to add new users, have it verified.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command to associate a domain with a federation:

    yc organization-manager federation saml add-domain --help
    
  2. Run this command:

    yc organization-manager federation saml add-domain <federation_name_or_ID> \
      --domain <domain>
    

    Where --domain is your domain.

    Result:

    done (1s)
    domain: example. com
    status: NEED_TO_VALIDATE
    status_code: organization/domain-diagnostics#need-to-validate
    created_at: "2025-10-09T06:40:18.704791371Z"
    validated_at: "1970-01-01T00:00:00Z"
    challenges:
    - created_at: "2025-10-09T06:40:18.704791371Z"
    updated_at: "2025-10-09T06:40:18.704791371Z"
    type: DNS_TXT
    status: PENDING
    dns_challenge:
    name: _yandexcloud-challenge. example. com
    type: TXT
    value: TlHc5HKJDeQIgPqaoiiSXxgy3CWFD+MLMJJP********
    

    Save the value as you will need it to validate the domain.

Use the Federation.AddDomain REST API method for the Federation resource or the FederationService/AddDomain gRPC API call.

Getting a list of domainsGetting a list of domains

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click  Federations.
  3. Select the federation you need from the list.
  4. Navigate to the Domains tab. You will see a list of all available domains.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for getting a list of domains in a federation:

    yc organization-manager federation saml list-domains --help
    
  2. Run this command:

    yc organization-manager federation saml list-domains <federation_name_or_ID>
    

Use the Federation.ListDomains REST API method for the Federation resource or the FederationService/ListDomains gRPC API call.

Viewing information about a domainViewing information about a domain

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click  Federations.
  3. Select a federation from the federation list.
  4. Navigate to the Domains tab.
  5. Click the domain name.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for viewing information about a domain in a federation:

    yc organization-manager federation saml get-domain --help
    
  2. Run this command:

    yc organization-manager federation saml get-domain <federation_name_or_ID> \
      --domain <domain>
    

    Where --domain is your domain.

Use the Federation.GetDomain REST API method for the Federation resource or the FederationService/GetDomain gRPC API call.

Deleting a domainDeleting a domain

You cannot delete the default domain or a domain with associated users.

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click Federations and select the target federation.
  3. Navigate to the Domains tab.
  4. In the domain section, click and select Delete.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for deleting a domain from a federation:

    yc organization-manager federation saml delete-domain --help
    
  2. Run this command:

    yc organization-manager federation saml delete-domain <federation_name_or_ID> \
      --domain <domain>
    

    Where --domain is your domain.

    For example, delete my-domain.ru from my-federation:

    yc organization-manager federation saml delete-domain my-federation \
      --domain my-domain.ru
    

Use the Federation.DeleteDomain REST API method for the Federation resource or the FederationService/DeleteDomain gRPC API call.

Was the article helpful?

Previous
Renewing a Yandex Cloud SAML certificate
Next
Deleting an identity federation
© 2026 Direct Cursus Technology L.L.C.