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 server dbcrypt delete`"
|
2026-08-11 11:22:55 -04:00
|
|
|
description: Delete all encrypted data from the database. THIS IS A DESTRUCTIVE OPERATION.
|
|
|
|
|
---
|
|
|
|
|
|
2023-09-07 15:49:49 +01:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Delete all encrypted data from the database. THIS IS A DESTRUCTIVE OPERATION.
|
|
|
|
|
|
|
|
|
|
Aliases:
|
|
|
|
|
|
2025-01-03 18:12:59 +05:00
|
|
|
* rm
|
2023-09-07 15:49:49 +01:00
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder server dbcrypt delete [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### --postgres-url
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|------------------------------------------------------------|
|
2023-09-07 15:49:49 +01:00
|
|
|
| Type | <code>string</code> |
|
|
|
|
|
| Environment | <code>$CODER_EXTERNAL_TOKEN_ENCRYPTION_POSTGRES_URL</code> |
|
|
|
|
|
|
|
|
|
|
The connection URL for the Postgres database.
|
|
|
|
|
|
2024-03-20 13:14:43 -04:00
|
|
|
### --postgres-connection-auth
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|----------------------------------------|
|
2024-08-20 14:47:46 +10:00
|
|
|
| Type | <code>password\|awsiamrds</code> |
|
2024-03-20 13:14:43 -04:00
|
|
|
| Environment | <code>$CODER_PG_CONNECTION_AUTH</code> |
|
|
|
|
|
| Default | <code>password</code> |
|
|
|
|
|
|
|
|
|
|
Type of auth to use when connecting to postgres.
|
|
|
|
|
|
2023-09-07 15:49:49 +01:00
|
|
|
### -y, --yes
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
|
|
|
|
|----------|-------------------|
|
|
|
|
|
| Type | <code>bool</code> |
|
2023-09-07 15:49:49 +01:00
|
|
|
|
2026-01-16 18:04:57 -08:00
|
|
|
Bypass confirmation prompts.
|