Discover and explore top open-source AI tools and projects—updated daily.
Go CLI tool for Kiro Auth Token management
Top 89.8% on SourcePulse
This Go-based command-line tool, kiro2cc
, is designed for developers and researchers working with Anthropic's Claude models. It simplifies the management of Kiro authentication tokens, enabling token refresh, environment variable export for seamless integration with other tools, and the setup of a local HTTP proxy for the Anthropic API.
How It Works
kiro2cc
operates by reading Kiro authentication tokens from a specified JSON file in the user's .aws/sso/cache/
directory. It leverages refresh tokens to obtain new access tokens and can then export these credentials as environment variables or use them to power a local HTTP server that acts as a proxy to the Anthropic API. This proxy approach allows local applications to interact with Claude models without direct configuration of API endpoints or authentication headers.
Quick Start & Requirements
go build -o kiro2cc main.go
. Pre-built binaries are available via GitHub Releases.kiro2cc-token.json
).Highlighted Details
ANTHROPIC_BASE_URL
, ANTHROPIC_API_KEY
) for easy integration.Maintenance & Community
The project utilizes GitHub Actions for automated builds and testing on code pushes and pull requests. Release artifacts are automatically generated for major operating systems.
Licensing & Compatibility
The project's license is not explicitly stated in the README. Compatibility for commercial use or closed-source linking would depend on the specific license chosen.
Limitations & Caveats
The README does not specify the license, which is crucial for determining commercial usability. The tool relies on a specific file path and format for Kiro tokens, which might require manual setup or verification.
4 weeks ago
Inactive