Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Identity Hub
    • All guides
    • Subscribing a user to notifications
      • Creating a user pool
      • Updating a user pool
      • Setting up a domain in a user pool
      • Getting a list of user pools
      • Getting information about a user pool
      • Getting a list of users in a pool
      • Setting up access to a user pool
      • Deleting a user pool
    • Syncing users and groups with Active Directory
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes

In this article:

  • Associating a domain
  • Verifying a domain
  • Getting a list of domains
  • Viewing information about a domain
  • Deleting a domain
  1. Step-by-step guides
  2. Managing user pools
  3. Setting up a domain in a user pool

Managing domains in a user pool

Written by
Yandex Cloud
Updated at November 29, 2025
  • Associating a domain
  • Verifying a domain
  • Getting a list of domains
  • Viewing information about a domain
  • Deleting a domain

Note

This feature is at the Preview stage.

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

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 User pools and select the user pool.
  3. In the top-right corner, click Add domain.
  4. Enter the domain name.
  5. Click Add.

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

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

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

    yc organization-manager idp userpool domain add --help
    
  2. Run this command:

    yc organization-manager idp userpool domain add <pool_ID> <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 Userpool.AddDomain REST API method for the Userpool resource or the UserpoolService/AddDomain gRPC API call.

Verifying a domainVerifying a domain

You can use only verified domains to add 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 User pools and select the user pool.
  3. Select the domain you need to verify.
  4. In the section that opens, you will see the details you will need to pass the domain rights check.
  5. After completing the verification, click Confirm.

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. Confirm that the domain belongs to you:

    1. Go to the DNS records management section on your domain's DNS provider's website:

    2. Add a TXT record with the following parameters:

      • Host or Subdomain: _yandexcloud-challenge.
      • Text or Value: The value field value you got after associating the domain.
    3. Wait for the DNS records to update. The update may take up to 72 hours.

  2. See the description of the CLI command for validating your domain in a user pool:

    yc organization-manager idp userpool domain validate --help
    
  3. Run this command:

    yc organization-manager idp userpool domain validate <pool_ID> <domain> \
      --name <domain>
    

    For example, validate my-domain.ru in my-federation:

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

Use the Userpool.ValidateDomain REST API method for the Userpool resource or the UserpoolService/ValidateDomain 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 User pools.
  3. Select the pool from the user pool list.
  4. Under Domains, you will see a list of all available domains.

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

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

    yc organization-manager idp userpool domain list --help
    
  2. Run this command:

    yc organization-manager idp userpool domain list <pool_ID>
    

Use the Userpool.ListDomains REST API method for the Userpool resource or the UserpoolService/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 User pools.
  3. Select the required pool from the user pool list.
  4. Under Domains, click the domain name.

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

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

    yc organization-manager idp userpool domain get --help
    
  2. Run this command:

    yc organization-manager idp userpool domain get <pool_ID> <domain>
    

Use the Userpool.GetDomain REST API method for the Userpool resource or the UserpoolService/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 User pools and select the user pool.
  3. Under Domains, click next to the domain and select Delete.
  4. In the window that opens, confirm deleting the domain.

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

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

    yc organization-manager idp userpool domain delete --help
    
  2. Run this command:

    yc organization-manager idp userpool domain delete <pool_ID> <domain>
    

Use the Userpool.DeleteDomain REST API method for the Userpool resource or the UserpoolService/DeleteDomain gRPC API call.

Was the article helpful?

Previous
Updating a user pool
Next
Getting a list of user pools
© 2025 Direct Cursus Technology L.L.C.