doctl databases user reset <database-id> <user-name> <new-auth-mode> [flags]
rs
This command resets the auth password or the MySQL auth plugin for a given user. It will return the new user credentials. When resetting MySQL auth, valid values for <new-auth-mode>
are caching_sha2_password
and mysql_native_password
.
Option | Description |
---|---|
--help
, -h
|
Help for this command |
Command | Description |
---|---|
doctl databases user | Display commands for managing database users |
Option | Description |
---|---|
--access-token , -t
|
API V2 access token |
--api-url , -u
|
Override default API endpoint |
--config , -c
|
Specify a custom config file
Default:
|
--context
|
Specify a custom authentication context name |
--interactive
|
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false
|
--output , -o
|
Desired output format [text|json]
Default: text
|
--trace
|
Show a log of network activity while performing a command
Default: false
|
--verbose , -v
|
Enable verbose output
Default: false
|