mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
See also: https://github.com/coder/coder/pull/9522 - Adds commands `server dbcrypt {rotate,decrypt,delete}` to re-encrypt, decrypt, or delete encrypted data, respectively. - Plumbs through dbcrypt in enterprise/coderd (including unit tests). - Adds documentation in admin/encryption.md. This enables dbcrypt by default, but the feature is soft-enforced on supplying external token encryption keys. Without specifying any keys, encryption/decryption is a no-op.
731 B
Generated
731 B
Generated
server dbcrypt delete
Delete all encrypted data from the database. THIS IS A DESTRUCTIVE OPERATION.
Aliases:
- rm
Usage
coder server dbcrypt delete [flags]
Options
--postgres-url
Type | string |
Environment | $CODER_EXTERNAL_TOKEN_ENCRYPTION_POSTGRES_URL |
The connection URL for the Postgres database.
-y, --yes
Type | bool |
Bypass prompts.