* add AUTH_JWT_SECRET and ADMIN_KEY, use in security middleware (TODO granular keys) * WIP: convert all API paths to use scoped keys * add basic unit tests for API keys, ruff formatting * MVP of route using JWT for payload * add get_user_from_token * add key table to postgres, use it to enable key revocation * add key revocation pt 2 -- fix order of param checks * finish convenience routes that assume params from JWT * add tests for key API * get_keys * add secrets utility script, add key rotation, fill out tests * add tiny cache as PoC * nits, validations, etc * only create keys table migration if necessary * fix keys tests to always use auth * tiny fix to make custom DATABASE_SCHEMA work * review: add better docs, fix security issue with cache, clear db on rotation, and more * remove rotation * remove key database entirely * Add `/all` path to get all apps (#94) * add `/all` path for apps * assert vector extension installed (need this for groudon) * review --------- Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| versions | ||
| README | ||
| env.py | ||
| script.py.mako | ||
README
Generic single-database configuration.