feat: update readme

This commit is contained in:
2024-11-22 23:47:41 +08:00
parent aff9359172
commit a4ef732a2b

View File

@@ -103,14 +103,14 @@ xh POST http://127.0.0.1:5567/datakey \
comment='this is a test key 01' comment='this is a test key 01'
``` ```
| Key | Comment | | Key | Comment |
|------------------|--------------------------------------------| |------------------|------------------------------------------------------|
| type | `aes` | | type | `aes` |
| spec | ~~`128`, `192`,~~ `256` if `type` == `aes` | | spec | ~~`128`, `192`,~~ `256` if `type` == `aes` |
| exportable | `true` or `false` | | exportable | <i>[optional]</i> `true` or `false` , default `true` |
| return_plaintext | `true` or `false` | | return_plaintext | <i>[optional]</i> `true` or `false`, default `false` |
| name | Data key name | | name | <i>[optional]</i> Data key name |
| comment | Data key comment | | comment | <i>[optional]</i> Data key comment |
Upgrade to v3.2 Upgrade to v3.2