mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
update docs according to newest config version 2 (#2186)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Credential Encryption
|
||||
|
||||
PicoClaw supports encrypting `api_key` values in `model_list` configuration entries.
|
||||
PicoClaw supports encrypting `api_key`/`api_keys` values in `model_list` configuration entries.
|
||||
Encrypted keys are stored as `enc://<base64>` strings and decrypted automatically at startup.
|
||||
|
||||
---
|
||||
@@ -42,6 +42,8 @@ enc://AAAA...base64...
|
||||
|
||||
## Supported `api_key` Formats
|
||||
|
||||
The same formats apply to both `api_key` (singular) and individual elements in the `api_keys` (array) field:
|
||||
|
||||
| Format | Example | Behaviour |
|
||||
|--------|---------|-----------|
|
||||
| Plaintext | `sk-abc123` | Used as-is |
|
||||
|
||||
Reference in New Issue
Block a user