secret-rotate
v1.0.5
Published
A secure secret rotation management tool with a web dashboard and CLI.
Maintainers
Readme
secret-rotate 🔄
A production-grade Node.js library for storing and rotating multiple secrets (like API keys) securely using the OS-level keychain.
✨ Features
- Secure Storage: Secrets never touch the disk in plain text.
- Automatic Rotation: Call
.get()and it cycles through your keys sequentially. - High Performance: In-memory caching ensures that rotation is near-instant.
- Stateless Logic: Uses a circular queue (shift/push) internally—no external counters to manage.
🚀 Installation
http://googleusercontent.com/immersive_entry_chip/0
💡 Quick Summary of the Final Logic
- Storage:
cross-keychain(System Level). - Pattern: Circular Queue (
shift/push). - Performance: Cache-first (only one OS read per key per session).
- Format: CommonJS (
module.exports).
Would you like me to generate the final index.js one last time in its complete form to match this documentation
