Skip to content
All projects
Core engineering libraryData Manager

api_manager.py — Credential Registry

BCHPR · 4 REDCap servers · 2023 – present

482 lines holding 105 credential attributes across 16 project groups, read from the environment and never from source. Gives every token a name and a group so an environment can be audited before a pipeline fails halfway through a run.

Highlights

  • 99 of the 105 attributes are REDCap project tokens; the remainder are Microsoft Graph and Postgres connection fields.
  • Group classes keep credentials scoped by project — 27 of them belong to the Start4All Phase 2 matrix alone.
  • Validation and missing-key reporting expose which credentials an environment lacks, ahead of the run rather than during it.
  • Backward-compatible bare-name exports alongside the grouped interface, so existing scripts keep working.