0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: add changeset for rotate via CLI

This commit is contained in:
Gao Sun 2022-11-07 16:53:08 +08:00
parent cf2c546f5d
commit 3ff2e90cd3
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -0,0 +1,13 @@
---
"@logto/cli": minor
---
## CLI
### Rotate your private or secret key
Add a new command `db config rotate <key>` to support key rotation via CLI.
When rotating, the CLI will generate a new key and prepend to the corresponding key array. Thus the old key is still valid and the serivce will use the new key for signing.
Run `logto db config rotate help` for detailed usage.