Add a session command line (CLI) tool
Summary
We currently have a tool to manage configuration (lemonldap-ng-cli
)
But no tool to manage sessions from the CLI, which could be useful for scripting
Design proposition
I am implementing a lemonldap-ng-sessions
CLI tool with the following features
- Get JSON from a session ID
- Search for all sessions matching a filter (searchOn)
- delete session from ID
- delete sessions from filter (similar to llndDeleteSessions)
- update a session attribute from an ID (might be useful for testing)
Plus some higher level psession features
- manage/display 2FA
- manage/display OIDC consents