Skip to content

Comments

feat(cli): add token-store policy visibility and plaintext warnings#20

Merged
smekcio merged 2 commits intomainfrom
feat/cli-token-store-policy-visibility
Feb 22, 2026
Merged

feat(cli): add token-store policy visibility and plaintext warnings#20
smekcio merged 2 commits intomainfrom
feat/cli-token-store-policy-visibility

Conversation

@smekcio
Copy link
Owner

@smekcio smekcio commented Feb 22, 2026

Summary

  • expose token-store mode in diagnostics and health check
  • emit explicit warning when plaintext fallback storage is actually used
  • keep secure-by-default token storage behavior unchanged

Changes

  • Added token-store mode resolver with values:
    • keyring
    • encrypted-fallback
    • plaintext-fallback
    • unavailable
  • Extended health check output with token_store check (without duplication)
  • Added one-time runtime warning for plaintext fallback usage
  • Added unit/integration tests for mode detection, warnings, and health output
  • Updated CLI docs

Validation

  • python -m pytest -q
  • Result at submission time: 405 passed, 4 skipped

@smekcio smekcio merged commit fc8e779 into main Feb 22, 2026
16 checks passed
@smekcio smekcio deleted the feat/cli-token-store-policy-visibility branch February 22, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant