# Very simple API key system AUTHORIZED_KEYS = { "admin-key": "admin", "user-key": "user" } def authorize(key: str): return AUTHORIZED_KEYS.get(key)