mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: note Database Encryption coverage for user secrets (#26435)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Database Encryption
|
||||
|
||||
By default, Coder stores external user tokens in plaintext in the database.
|
||||
Database Encryption allows Coder administrators to encrypt these tokens at-rest,
|
||||
preventing attackers with database access from using them to impersonate users.
|
||||
By default, Coder stores external user tokens and other sensitive values in
|
||||
plaintext in the database. Database Encryption allows Coder administrators to
|
||||
encrypt these values at-rest, preventing attackers with database access from
|
||||
reading or misusing them.
|
||||
|
||||
## How it works
|
||||
|
||||
|
||||
@@ -49,7 +49,9 @@ Users can view their public key in their account settings:
|
||||
User secrets are developer-managed values that Coder injects at workspace start.
|
||||
If a user secret targets the same environment variable name or file path as a
|
||||
template-provided variable or file, Coder injects the user secret into that
|
||||
workspace. See the [User secrets guide](../../user-guides/user-secrets.md).
|
||||
workspace. User secret values are covered by
|
||||
[Database Encryption](./database-encryption.md) when it is enabled. See the
|
||||
[User secrets guide](../../user-guides/user-secrets.md).
|
||||
|
||||
## Dynamic Secrets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user