-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a new server API: ``` /v1/key/list/<pattern> ``` This API returns a nd-json stream of `KeyDescription` objects - each one describing one key at the KES server. The key listing API is designed to have a low memory footprint (since there may be thousands of keys) even when many clients try to list keys in parallel. Therefore, the listing implementation (at the KES server as well as at the client) uses iterators to list keys lazy. As soon as a client disconnects / times out /... the listing is aborted to not waste server resources. This commit also adds a CLI command: ``` kes key list [options] [<pattern>] ```
- Loading branch information
Andreas Auernhammer
committed
Nov 17, 2020
1 parent
6f86551
commit 292db6d
Showing
16 changed files
with
1,125 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.