stechstudio/keep
Composer 安装命令:
composer require stechstudio/keep
包简介
Toolkit for collaborative, secure management of secrets across applications, environments, and teams.
README 文档
README
Keep is your toolkit for secure, collaborative management of application secrets across environments and teams.
Key Features
- 🔐 Multi-Vault Support - AWS SSM Parameter Store and AWS Secrets Manager
- 🖥️ Web UI - Local browser-based interface for visual secret management
- 🚀 Interactive Shell - Context-aware shell with tab completion for rapid secret management
- 🌍 Environment Isolation - Separate secrets by environment (local, staging, production)
- 📝 Template Management - Create, validate, and process templates with placeholders
- 🔄 Bulk Operations - Import, export, copy, and diff secrets across environments
- 🤝 Team Collaboration - Share secret management with proper access controls
- ⚙️ CI/CD Ready - Export secrets for deployment pipelines
- 🚀 Runtime Injection - Execute processes with injected secrets (no disk writes)
Quick Example
# Install composer require stechstudio/keep # Initialize ./vendor/bin/keep init # Interactive shell - the fastest way to work ./vendor/bin/keep shell # Set a secret ./vendor/bin/keep set DB_PASSWORD "secret" --env=production # Export to .env ./vendor/bin/keep export --env=production --file=.env # Create template from existing secrets ./vendor/bin/keep template:add --env=production # Use template with placeholders to generate .env file ./vendor/bin/keep export --env=production --template=env/production.env --file=.env # Runtime injection - execute with secrets, no .env file created ./vendor/bin/keep run --vault=ssm --env=production -- npm start
Interactive Shell
The Keep shell provides a context-aware environment for managing secrets:
$ ./vendor/bin/keep shell Welcome to Keep Shell v1.0.0 ssm:local> use production Switched to: ssm:production ssm:production> set API_KEY Value: ******** ssm:production> copy API_KEY staging ✓ Copied API_KEY to staging ssm:production> diff staging production │ Key │ staging │ production │ Status │ ├─────────┼─────────┼────────────┼────────┤ │ API_KEY │ abc... │ abc... │ ✓ │
Web UI
Keep includes a modern web interface for visual secret management:
# Start the web server ./vendor/bin/keep server # Custom port (default: 4000) ./vendor/bin/keep server --port=8080 # Don't auto-open browser ./vendor/bin/keep server --no-browser
The Web UI provides:
- Visual secret management with search and filtering
- Diff matrix view comparing secrets across environments/vaults
- Export functionality with live preview
- Import wizard for .env files with conflict resolution
- Settings management for vaults and environments
- Real-time validation and error handling
Documentation
📚 Full documentation available at https://stechstudio.github.io/keep/
- Installation & Configuration
- Interactive Shell Guide
- Deployment & Runtime
- AWS Authentication
- CLI Reference
License
The MIT License (MIT). Please see License File for more information.
stechstudio/keep 适用场景与选型建议
stechstudio/keep 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 22 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 08 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cli」 「laravel」 「environment」 「devops」 「secrets」 「secrets-manager」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 stechstudio/keep 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 stechstudio/keep 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 stechstudio/keep 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Environment processor and contexts autoloader
The tenancy/tenancy identification driver using environment variables
Multiple cascading environmental configuration files support for Laravel 5
An environment variable convenience library extension for vlucas/phpdotenv
Utils to load, parse and work with configuration on Mezzio projects
Server environment detection based on config array-file
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-22