mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +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.
1013 B
Generated
1013 B
Generated
server dbcrypt decrypt
Decrypt a previously encrypted database.
Usage
coder server dbcrypt decrypt [flags]
Options
--keys
Type | string-array |
Environment | $CODER_EXTERNAL_TOKEN_ENCRYPTION_DECRYPT_KEYS |
Keys required to decrypt existing data. Must be a comma-separated list of base64-encoded keys.
--postgres-url
Type | string |
Environment | $CODER_PG_CONNECTION_URL |
The connection URL for the Postgres database.
-y, --yes
Type | bool |
Bypass prompts.