architecture / digikey
support module
DigiKey
Identity, JWTs, and scoped keys — one issuer for humans and machines.
Auth · RS256 JWTs · scoped API keys · :8005
$ docker compose up -d digikey
stack
PyJWTcryptographybcryptSQLAlchemyPostgresRedis
RS256-signed JWTs (PyJWT + cryptography) with a published JWKS, org + project membership, and row-level scopes baked into the token.
SQLAlchemy over Postgres for key storage, bcrypt for hashing, optional Redis revocation blocklist.
initialize
from digikey.server import app # DIGIKEY_ISSUER=https://auth.example.com