# SDKs & Integrations

Official SDKs and integrations for KeyEnv.

Source: https://keyenv.dev/docs/sdks/

Use KeyEnv in your applications with our official SDKs and integrations.

## SDKs

- [Node.js SDK](/docs/sdks/nodejs): TypeScript/JavaScript SDK for server-side apps
- [Python SDK](/docs/sdks/python): Python SDK with full type annotations
- [Go SDK](/docs/sdks/go): Go SDK with full type safety
- [Rust SDK](/docs/sdks/rust): Rust SDK with async/await support
- [Java SDK](/docs/sdks/java): Java SDK with Java 11+ and async support (Beta)
- [PHP SDK](/docs/sdks/php): PHP SDK for PHP 8.0+ applications (Beta)
- [Ruby SDK](/docs/sdks/ruby): Ruby SDK for Ruby 3.0+ applications (Beta)
- [.NET SDK](/docs/sdks/dotnet): .NET SDK for .NET 6.0+ with async patterns (Beta)

## Runtimes

- [Bun](/docs/sdks/bun): Use KeyEnv with Bun applications
- [Deno](/docs/sdks/deno): Use KeyEnv with Deno applications

## CI/CD Integrations

- [GitHub Action](/docs/sdks/github-action): Inject secrets into GitHub Actions workflows
- [Secret Scanner Action](/docs/sdks/scan-action): Scan for hardcoded secrets in your codebase
- [Bitbucket Pipelines](/docs/sdks/bitbucket-pipelines): Inject secrets into Bitbucket Pipelines

## Serverless

- [AWS Lambda Layer](/docs/sdks/aws-lambda): Pre-built layer for Lambda functions
- [Azure Functions](/docs/sdks/azure-functions): Use KeyEnv with Azure Functions
- [Google Cloud Functions](/docs/sdks/google-cloud-functions): Use KeyEnv with Cloud Functions
- [Netlify Build Plugin](/docs/sdks/netlify): Auto-inject secrets during Netlify builds

## Framework Integrations

- [Next.js](/docs/sdks/nextjs): Server Components, API Routes, and Vercel deployment
- [Django](/docs/sdks/django): Django settings.py integration with environment-aware config
- [Laravel](/docs/sdks/laravel): Service Provider, Facade, and Artisan commands for Laravel
- [Spring Boot](/docs/sdks/spring-boot): Auto-configuration, @Value injection, and ConfigurationProperties
- [Rails](/docs/sdks/rails): Rails initializer setup with credentials and database.yml integration

## Platform Integrations

- [Kubernetes (ESO)](/docs/guides/kubernetes): Sync secrets to K8s via External Secrets Operator
- [Docker](/docs/guides/docker): Use KeyEnv with Docker and docker-compose
- [Vercel](/docs/guides/vercel): Deploy to Vercel with KeyEnv secrets
- [Railway](/docs/guides/railway): Sync secrets to Railway projects

## When to Use What

| Use Case | Recommended |
|----------|-------------|
| Local development | CLI (`keyenv pull`, `keyenv run`) |
| Node.js/TypeScript apps | Node.js SDK |
| Python apps | Python SDK |
| Java apps | Java SDK |
| PHP apps | PHP SDK |
| Ruby apps | Ruby SDK |
| .NET/C# apps | .NET SDK |
| Next.js apps | Next.js integration (Node.js SDK) |
| Django apps | Django integration (Python SDK) |
| Laravel apps | Laravel integration (PHP SDK) |
| Spring Boot apps | Spring Boot integration (Java SDK) |
| Rails apps | Rails integration (Ruby SDK) |
| ASP.NET Core apps | .NET SDK |
| Go apps | Go SDK |
| Rust apps | Rust SDK |
| Bun apps | Node.js SDK or CLI |
| Deno apps | CLI or direct API |
| GitHub Actions (inject secrets) | GitHub Action |
| GitHub Actions (scan for secrets) | Secret Scanner Action |
| Bitbucket Pipelines | Bitbucket Pipe |
| Other CI/CD | CLI |
| AWS Lambda | Lambda Layer |
| Azure Functions | Azure Functions integration |
| Google Cloud Functions | Cloud Functions integration |
| Netlify | Netlify Build Plugin |
| Vercel | Next.js integration or Node.js SDK |
| Scripts & automation | SDK or CLI |
| Docker builds | CLI or GitHub Action |
| Kubernetes | External Secrets Operator (ESO) integration |
| Security scanning | Secret Scanner Action or CLI (`keyenv scan`) |

## Authentication

All SDKs use **service tokens** for authentication. Create a token in the KeyEnv dashboard:

1. Go to **Settings > Service Tokens**
2. Click **Create Token**
3. Select scope (project-specific recommended)
4. Copy the token and store it securely

```bash
# Set as environment variable
export KEYENV_TOKEN="your-service-token"
```
