onecli/onecli
Open-source credential gateway with a built-in vault. give your AI agents access to services without exposing keys.
What it solves
OneCLI は、AI エージェントが生の API キーを保持することなく外部 API にアクセスできる安全な方法を提供します。これにより、資格情報をエージェントのコードや設定に埋め込むというセキュリティリスクが排除され、開発者はシークレット管理とキーのローテーションを集中化できます。
How it works
OneCLI は AI エージェントと呼び出すサービス間のオープンソースゲートウェイとして機能します。実際の API 資格情報は暗号化されたボールト(AES-256-GCM)に保存し、エージェントにはプレースホルダーキーを提供します。エージェントがゲートウェイ経由で HTTP リクエストを行うと、OneCLI はホストとパスのパターンに基づいて適切な資格情報をマッチさせ、プレースホルダーを実際のキーに置き換えて外部リクエストに注入します。エージェントは実際のシークレットを見ることはありません。
Who it’s for
複数のサードパーティ API と安全にやり取りする必要がある AI エージェントを構築する開発者向け。
Highlights
- Transparent credential injection: Agents make standard HTTP calls while the gateway handles authentication.
- Rust-powered gateway: A fast, memory-safe gateway for intercepting and injecting credentials.
- Encrypted storage: Secrets are encrypted at rest and only decrypted at request time.
- Multi-agent support: Each agent is assigned its own access token with scoped permissions.
- Vault integration: Ability to connect to password managers like Bitwarden for on-demand injection.
- Easy deployment: Quick start via a single curl command or Docker Compose.