mirror of
https://github.com/coder/coder.git
synced 2026-06-04 05:28:20 +00:00
b63dfe7b75
This change reduces the CPU consumption of --help by ~50%. Also, this change removes ANSI escape codes from our golden files. I don't think those were worth the inability to parallelize golden file tests and global state fragility.
24 lines
669 B
Plaintext
24 lines
669 B
Plaintext
coder v0.0.0-devel
|
|
|
|
USAGE:
|
|
coder server dbcrypt rotate [flags]
|
|
|
|
Rotate database encryption keys.
|
|
|
|
OPTIONS:
|
|
--new-key string, $CODER_EXTERNAL_TOKEN_ENCRYPTION_ENCRYPT_NEW_KEY
|
|
The new external token encryption key. Must be base64-encoded.
|
|
|
|
--old-keys string-array, $CODER_EXTERNAL_TOKEN_ENCRYPTION_ENCRYPT_OLD_KEYS
|
|
The old external token encryption keys. Must be a comma-separated list
|
|
of base64-encoded keys.
|
|
|
|
--postgres-url string, $CODER_PG_CONNECTION_URL
|
|
The connection URL for the Postgres database.
|
|
|
|
-y, --yes bool
|
|
Bypass prompts.
|
|
|
|
———
|
|
Run `coder --help` for a list of global options.
|