-
Notifications
You must be signed in to change notification settings - Fork 74
CLI_V2
Michael Schwartz edited this page Jan 25, 2023
·
65 revisions
Bringing Joy to Janssen Admins
- CLI should handle config for all Janssen Project server components: Auth Server, FIDO, SCIM, Client API, Config API
- Device flow for authentication
- Access token lifetime: 60 minutes -- no refresh token.
- Properties file in
./config/jans-cli.ini
with user settings - Command Mode
- one liner to execute a command
- input data stored as JSON (base64 encoded? url encoded? file?)
- Interactive Mode
- When you list entities, it should return first 10 items automatically and then give the option to filter results another way
- Interactive mode writes
command-audit.log
with equivalent command one liner - Fields that have well known values (like response_type), admin should be able to select
- For Add entity commands, required fields first, then most often used, then others grouped by similarity
- Always enable a user to cancel and go back one screen, section home, or home screen
- Never make user enter any inum
- Show summary and confirm before writes
- Logout function should delete access token
- Plugins
- Extends functionality of CLI
- Plugins specified by user in
jans-cli.ini
- Installed in extra folders in projects
- args should have plugin namespace
Note: Spontaneous Scopes are READ ONLY. They should show up in search results; admins can view a spontaneous scope. But admins cannot create a spontanous scope--creation only happens when an authorized client presents a spontaneous scope at the token endpoint.
SSA's are JWT's, issued by Auth Server, that are used by a developer during dynamic client registration to prove authorization to obtain protected client credentials. See the SSA Endpoint Documentation and Swagger docs for more info.
--------------------¶¶¶¶¶¶¶¶
__¶¶¶ --------------------¶¶¶¶ ¶¶
__¶¶ ¶¶¶ ----------------------¶¶¶ ¶¶
___¶ ¶¶¶¶ ¶¶ ¶¶
___¶ ¶¶¶¶ ¶¶ ¶¶
-¶¶ ¶¶¶¶ ¶¶ ¶¶
¶¶ ¶¶¶¶¶¶ ¶ ¶¶
¶¶ ¶¶¶ ¶¶ ¶¶
¶ ¶¶ ¶ ¶¶¶¶¶¶¶
¶¶ ¶¶ ¶ ¶¶ ö ¶¶¶
¶¶ ¶¶¶¶¶¶¶ ¶¶¶¶
¶¶ ¶¶¶
¶¶¶ ¶¶
¶¶¶¶ JANS ¶¶
¶¶ ADMIN ¶¶
¶¶¶¶¶¶ TOOL ¶¶
¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶
¶ ¶¶¶¶
¶¶ ¶¶¶¶¶
¶¶ ¶¶¶¶¶¶¶¶¶
¶¶¶¶ ¶¶
¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶