yc managed-postgresql user update
Update the specified PostgreSQL user
Command Usage
Syntax:
yc managed-postgresql user update <USER-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
PostgreSQL cluster id. |
|
|
PostgreSQL cluster name. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Password of the PostgreSQL user. |
|
|
Number of connections available to the user. |
|
|
Names of the databases that the permission grants access to. |
|
|
Indicates whether the user can login. |
|
|
Roles granted to the user. |
|
|
Generate password using Connection Manager. |
|
|
Authentication method for the user. Values: 'auth-method-password', 'auth-method-iam' |
|
|
Password-based authentication method for user. Values: 'user-password-encryption-md5', 'user-password-encryption-scram-sha-256' |
|
|
Lock timeout in milliseconds. |
|
|
Log minimal duration statement in milliseconds. |
|
|
Temporary file limit in bytes. |
|
|
Default transaction isolation. Values: 'transaction-isolation-read-uncommitted', 'transaction-isolation-read-committed', 'transaction-isolation-repeatable-read', 'transaction-isolation-serializable' |
|
|
Synchronous commit. Values: 'synchronous-commit-on', 'synchronous-commit-off', 'synchronous-commit-local', 'synchronous-commit-remote-write', 'synchronous-commit-remote-apply' |
|
|
Log statement. Values: 'log-statement-none', 'log-statement-ddl', 'log-statement-mod', 'log-statement-all' |
|
|
Statement timeout in milliseconds. |
|
|
Idle in transaction session timeout in milliseconds. |
|
|
WAL sender timeout in milliseconds. |
|
|
Enable audit events for user |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
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). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |