2023-09-07 15:49:49 +01:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
# server dbcrypt decrypt
|
|
|
|
|
|
|
|
|
|
Decrypt a previously encrypted database.
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder server dbcrypt decrypt [flags]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### --postgres-url
|
|
|
|
|
|
|
|
|
|
| | |
|
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
|
|
|
|
|
|
|
|
|
|
| | |
|
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
|
|
|
|
|
|
|
|
|
|
| | |
|
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
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|------|-------------------|
|
2023-09-07 15:49:49 +01:00
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
|
|
|
|
Bypass prompts.
|