mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Jul 13 09:59:37 UTC 2022
This commit is contained in:
parent
cf5ab60e4a
commit
879929cbc6
323 changed files with 7203 additions and 4178 deletions
|
|
@ -6,6 +6,7 @@ SYNOPSIS
|
|||
[--host=HOST] [--password=PASSWORD]
|
||||
[--password-policy-allowed-failed-attempts=PASSWORD_POLICY_ALLOWED_FAILED_ATTEMPTS]
|
||||
[--[no-]password-policy-enable-failed-attempts-check]
|
||||
[--[no-]password-policy-enable-password-verification]
|
||||
[--password-policy-password-expiration-duration=PASSWORD_POLICY_PASSWORD_EXPIRATION_DURATION]
|
||||
[--type=TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -40,18 +41,24 @@ OPTIONAL FLAGS
|
|||
|
||||
--password-policy-allowed-failed-attempts=PASSWORD_POLICY_ALLOWED_FAILED_ATTEMPTS
|
||||
Number of failed login attempts allowed before a user is locked out.
|
||||
This flag is currently not available.
|
||||
This flag is available only for MySQL.
|
||||
|
||||
--[no-]password-policy-enable-failed-attempts-check
|
||||
Enables the failed login attempts check if set to true. This flag is
|
||||
currently not available. Use
|
||||
available only for MySQL. Use
|
||||
--password-policy-enable-failed-attempts-check to enable and
|
||||
--no-password-policy-enable-failed-attempts-check to disable.
|
||||
|
||||
--[no-]password-policy-enable-password-verification
|
||||
The current password must be specified when altering the password. This
|
||||
flag is available only for MySQL. Use
|
||||
--password-policy-enable-password-verification to enable and
|
||||
--no-password-policy-enable-password-verification to disable.
|
||||
|
||||
--password-policy-password-expiration-duration=PASSWORD_POLICY_PASSWORD_EXPIRATION_DURATION
|
||||
Expiration duration after a password is updated, for example, 2m for 2
|
||||
minutes. See gcloud topic datetimes for information on duration
|
||||
formats. This flag is currently not available.
|
||||
Expiration duration after a password is updated, for example, 2d for 2
|
||||
days. See gcloud topic datetimes for information on duration formats.
|
||||
This flag is available only for MySQL.
|
||||
|
||||
--type=TYPE
|
||||
Cloud SQL user's type. It determines the method to authenticate the
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud sql users set-password USERNAME --instance=INSTANCE, -i INSTANCE
|
||||
[--async] [--host=HOST] [--password=PASSWORD | --prompt-for-password]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--async] [--host=HOST] [--discard-dual-password | --retain-password]
|
||||
[--password=PASSWORD | --prompt-for-password] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Changes a user's password in a given instance with specified username and
|
||||
|
|
@ -33,6 +33,16 @@ OPTIONAL FLAGS
|
|||
help on how to do so, read:
|
||||
https://cloud.google.com/sql/docs/mysql/configure-ip
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--discard-dual-password
|
||||
Discard the user's secondary password. Cannot set password and set
|
||||
this flag. This flag is only available for MySQL 8.0.
|
||||
|
||||
--retain-password
|
||||
Retain the old password when changing to the new password. Must set
|
||||
password with this flag. This flag is only available for MySQL 8.0.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--password=PASSWORD
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ SYNOPSIS
|
|||
INSTANCE [--async] [--clear-password-policy] [--host=HOST]
|
||||
[--password-policy-allowed-failed-attempts=PASSWORD_POLICY_ALLOWED_FAILED_ATTEMPTS]
|
||||
[--[no-]password-policy-enable-failed-attempts-check]
|
||||
[--[no-]password-policy-enable-password-verification]
|
||||
[--password-policy-password-expiration-duration=PASSWORD_POLICY_PASSWORD_EXPIRATION_DURATION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -56,18 +57,24 @@ OPTIONAL FLAGS
|
|||
|
||||
--password-policy-allowed-failed-attempts=PASSWORD_POLICY_ALLOWED_FAILED_ATTEMPTS
|
||||
Number of failed login attempts allowed before a user is locked out.
|
||||
This flag is currently not available.
|
||||
This flag is available only for MySQL.
|
||||
|
||||
--[no-]password-policy-enable-failed-attempts-check
|
||||
Enables the failed login attempts check if set to true. This flag is
|
||||
currently not available. Use
|
||||
available only for MySQL. Use
|
||||
--password-policy-enable-failed-attempts-check to enable and
|
||||
--no-password-policy-enable-failed-attempts-check to disable.
|
||||
|
||||
--[no-]password-policy-enable-password-verification
|
||||
The current password must be specified when altering the password. This
|
||||
flag is available only for MySQL. Use
|
||||
--password-policy-enable-password-verification to enable and
|
||||
--no-password-policy-enable-password-verification to disable.
|
||||
|
||||
--password-policy-password-expiration-duration=PASSWORD_POLICY_PASSWORD_EXPIRATION_DURATION
|
||||
Expiration duration after a password is updated, for example, 2m for 2
|
||||
minutes. See gcloud topic datetimes for information on duration
|
||||
formats. This flag is currently not available.
|
||||
Expiration duration after a password is updated, for example, 2d for 2
|
||||
days. See gcloud topic datetimes for information on duration formats.
|
||||
This flag is available only for MySQL.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue