yc organization-manager idp userpool create
Статья создана
Обновлена 20 октября 2025 г.
Create a user pool
Command Usage
Syntax:
yc organization-manager idp userpool create [Flags...] [Global Flags...]
Flags
| Flag | Description |
|---|---|
--organization-id |
stringSet the ID of the organization to use. |
--async |
Display information about the operation in progress, without waiting for the operation to complete. |
--userpool-name |
stringName of the userpool |
--description |
stringDescription of the userpool |
--labels |
stringToStringLabels of the userpool as key=value pairs |
--default-subdomain |
stringDefault subdomain for the userpool |
--password-allow-similar |
Whether passwords similar to previous ones are allowed. |
--password-max-length |
intMaximum password length. Zero means no maximum length is enforced. |
--password-min-length |
intMinimum password length. |
--password-match-length |
intMinimum length of substrings to check for similarity to vulnerable sequences. |
--password-lowers-required |
Whether lowercase letters are required in passwords. |
--password-uppers-required |
Whether uppercase letters are required in passwords. |
--password-digits-required |
Whether digits are required in passwords. |
--password-specials-required |
Whether special characters are required in passwords. |
--password-one-class-min-length |
intMinimum length for passwords with one character class. |
--password-two-classes-min-length |
intMinimum length for passwords with two character classes. |
--password-three-classes-min-length |
intMinimum length for passwords with three character classes. |
--password-min-days |
intMinimum number of days before a password can be changed. |
--password-max-days |
intMaximum number of days a password remains valid. Zero means passwords never expire. |
--bruteforce-window |
durationTime window for counting failed authentication attempts. |
--bruteforce-block |
durationDuration of the block after too many failed attempts. |
--bruteforce-attempts |
intNumber of failed attempts allowed within the window before blocking. |
Global Flags
| Flag | Description |
|---|---|
--profile |
stringSet the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
intEnable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
stringSet the ID of the cloud to use. |
--folder-id |
stringSet the ID of the folder to use. |
--folder-name |
stringSet the name of the folder to use (will be resolved to id). |
--endpoint |
stringSet the Cloud API endpoint (host:port). |
--token |
stringSet the OAuth token to use. |
--impersonate-service-account-id |
stringSet the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
stringSet the output format: text (default), yaml, json, json-rest. |
--jq |
stringQuery to select values from the response using jq syntax |
-h,--help |
Display help for the command. |