__init__.py 695 B

12345678910111213141516171819
  1. """External secret source integrations.
  2. A secret source supplies env-var-shaped credentials at process startup, after
  3. ~/.hermes/.env has loaded. Contract: :class:`base.SecretSource`; orchestrator
  4. (ordering, mapped-beats-bulk, first-claim-wins, provenance): :func:`registry.apply_all`.
  5. Bundled: ``bitwarden``, ``onepassword``, ``command``. The set is deliberately
  6. closed — third-party managers ship as plugins that subclass ``SecretSource`` and
  7. register through ``PluginContext.register_secret_source()``.
  8. """
  9. from agent.secret_sources.base import (
  10. SECRET_SOURCE_API_VERSION,
  11. ErrorKind,
  12. FetchResult,
  13. SecretSource,
  14. is_valid_env_name,
  15. run_secret_cli,
  16. scrub_ansi,
  17. )