Expand description
Multi-source credential resolution.
Reads API keys from multiple sources with clear priority:
config.toml→[engine].api_key(explicit override)~/.oxi/auth.json(shared with oxi CLI if installed)- oxi-ai env var fallback (CI/CD, containers)
Handles legacy oxi-cli auth.json entries ({"type":"api_key","key":"..."})
by auto-migrating them to the TokenBundle format on first write.
Structs§
- Credential
Store - Multi-source credential resolver.
Enums§
- Credential
Source - Where a credential was found.