rasenmaeher_api.console
CLI entrypoints for python-rasenmaeher-api
Module Contents
Functions
|
CLI helpers for RASENMAEHER developers |
|
Dump autogenerate openapi spec as JSON |
|
Do a GET request to the healthcheck api and dump results to stdout |
|
Add new single-use login code |
|
Get PFX for cert+key for the given user, will create the user if needed |
|
Revoke user by callsign |
|
Get RASENMAEHER signed JWT |
|
Get RASENMAEHER signed admin user JWT |
|
Create the test users defined in testhelpers.create_test_users |
python-rasenmaeher-api |
Attributes
- dump_openapi(ctx)[source]
Dump autogenerate openapi spec as JSON
- Parameters:
ctx (click.Context)
- Return type:
None
- do_http_healthcheck(ctx, host, port, timeout, services)[source]
Do a GET request to the healthcheck api and dump results to stdout
- add_code(ctx, claims_json)[source]
Add new single-use login code
- Parameters:
ctx (click.Context)
claims_json (str)
- Return type:
None
- get_pfx(ctx, callsign, admin)[source]
Get PFX for cert+key for the given user, will create the user if needed
- get_adminjwt(ctx, claims_json)[source]
Get RASENMAEHER signed admin user JWT
- Parameters:
ctx (click.Context)
claims_json (str)
- Return type:
None