mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
32 lines
855 B
Markdown
Generated
32 lines
855 B
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# reset-password
|
|
|
|
Directly connect to the database to reset a user's password
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder reset-password [flags] <username>
|
|
```
|
|
|
|
## Options
|
|
|
|
### --postgres-url
|
|
|
|
| | |
|
|
|-------------|---------------------------------------|
|
|
| Type | <code>string</code> |
|
|
| Environment | <code>$CODER_PG_CONNECTION_URL</code> |
|
|
|
|
URL of a PostgreSQL database to connect to.
|
|
|
|
### --postgres-connection-auth
|
|
|
|
| | |
|
|
|-------------|----------------------------------------|
|
|
| Type | <code>password\|awsiamrds</code> |
|
|
| Environment | <code>$CODER_PG_CONNECTION_AUTH</code> |
|
|
| Default | <code>password</code> |
|
|
|
|
Type of auth to use when connecting to postgres.
|