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 decrypt`"
|
2026-08-11 11:22:55 -04:00
|
|
|
description: Decrypt a previously encrypted database.
|
|
|
|
|
---
|
|
|
|
|
|
2023-09-07 15:49:49 +01:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Decrypt a previously encrypted database.
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder server dbcrypt decrypt [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_PG_CONNECTION_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.
|
|
|
|
|
|
2024-03-15 11:24:38 -05:00
|
|
|
### --keys
|
|
|
|
|
|
2026-10-21 10:58:04 -07:00
|
|
|
| Property | Value |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|------------------------------------------------------------|
|
2024-03-15 11:24:38 -05:00
|
|
|
| Type | <code>string-array</code> |
|
|
|
|
|
| Environment | <code>$CODER_EXTERNAL_TOKEN_ENCRYPTION_DECRYPT_KEYS</code> |
|
|
|
|
|
|
|
|
|
|
Keys required to decrypt existing data. Must be a comma-separated list of base64-encoded keys.
|
|
|
|
|
|
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.
|