Creating a user pool
Note
This feature is at the Preview stage.
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
User pools. -
In the top-right corner of the page, click
Create user pool. -
Enter a name and description for the user pool.
The name must be unique within the organization and aligned with the naming requirements:
- It must be from 1 to 63 characters long.
- It may contain lowercase Latin letters, numbers, and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
In the Default domain field, add the domain that will be used if there are no other domains associated with the pool.
-
Optionally, add labels:
- Click Add label.
- Enter a label in
key: valueformat. - Press Enter.
-
Click Create userpool.
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.
-
See the description of the CLI command for creating a user pool:
yc organization-manager idp userpool create --help -
Run this command:
yc organization-manager idp userpool create \ --organization-id <organization_ID> \ --userpool-name <pool_name> \ --description <pool_description> \ --default-subdomain <default_domain> \ --labels <key>=<value>[,<key>=<value>]Where:
-
--organization-id: ID of the organization you want to create a user pool in. -
--userpool-name: User pool name. The name must be unique within the organization and aligned with the naming requirements:- It must be from 1 to 63 characters long.
- It may contain lowercase Latin letters, numbers, and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
--description: User pool description. This is an optional parameter. -
--default-subdomain: Default domain. It will be used if no other domains are associated with the pool. -
--labels: List of labels. This is an optional parameter. You can specify one or more labels separated by commas in<key1>=<value1>,<key2>=<value2>format.
-