2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
2026-09-28 15:44:10 -04:00
|
|
|
title: "`coder reset-password`"
|
2026-10-20 18:51:44 -04:00
|
|
|
description: "Directly connect to the database to reset a user's password."
|
2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
|
2023-03-23 17:42:20 -05:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Directly connect to the database to reset a user's password
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder reset-password [flags] <username>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### --postgres-url
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|---------------------------------------|
|
2023-03-23 17:42:20 -05:00
|
|
|
| Type | <code>string</code> |
|
|
|
|
|
| Environment | <code>$CODER_PG_CONNECTION_URL</code> |
|
|
|
|
|
|
|
|
|
|
URL of a PostgreSQL database to connect to.
|
2025-01-03 12:15:35 -05:00
|
|
|
|
|
|
|
|
### --postgres-connection-auth
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
2025-01-03 12:15:35 -05:00
|
|
|
|-------------|----------------------------------------|
|
|
|
|
|
| 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.
|