yc organization-manager authentication-policy-rule update
Update an authentication policy rule
Command Usage
Syntax:
yc organization-manager authentication-policy-rule update <RULE-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Authentication policy rule ID. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
New name of the authentication policy rule. |
|
|
Description of the authentication policy rule. |
|
|
Effect to apply when the rule matches. Values: 'allow-with-obligations', 'deny' |
|
|
Obligations as a JSON array. For example: [{"stepUpRequired":{"acrId":"acr-id","ttl":"300s"}},{"skipMfa":{"requireOnce":true}},{"reauthenticationRequired":{"ttl":"300s"}}]. Use [] to clear obligations. |
|
|
Subject IDs to include. An empty list matches all subjects. |
|
|
Subject IDs to exclude. |
|
|
Source IP ranges in CIDR notation to include. An empty list matches any source. |
|
|
Source IP ranges in CIDR notation to exclude. |
|
|
Application IDs to include. An empty list matches all applications. |
|
|
Application IDs to exclude. |
|
|
Labels as comma-separated KEY=VALUE pairs. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the OAuth token to use. |
|
|
Query to select values from the response using jq syntax |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |