feat: v0.3.6, add generate aes(128,192,256 bit) datakey

This commit is contained in:
2024-09-04 00:14:59 +08:00
parent b188a2bc1e
commit b1121ffeeb
10 changed files with 113 additions and 18 deletions

View File

@@ -67,6 +67,13 @@ curl -X POST http://127.0.0.1:5567/read \
-d '{"name":"test"}'
```
Generate data key:
```shell
curl -X POST http://127.0.0.1:5567/datakey \
-H "Content-Type: application/json" \
-d '{"key_type":"aes", "key_spec":"256", "return_plaintext": true}'
```
Upgrade to v3.2
```sql
ALTER TABLE keys ADD COLUMN comment TEXT;