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:
parent
cf2c546f5d
commit
3ff2e90cd3
1 changed files with 13 additions and 0 deletions
13
.changeset/unlucky-lizards-agree.md
Normal file
13
.changeset/unlucky-lizards-agree.md
Normal 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.
|
Loading…
Reference in a new issue