Skip to content

meetcleo/torchwood

Repository files navigation

Torchwood

A lightweight Rails API that implements the AWS Secrets Manager API contract. Designed for local development and testing scenarios where you need a secrets manager endpoint without connecting to AWS.

Requirements

  • Ruby 3.4.7

Setup

bundle install

Running the Server

bundle exec falcon serve --bind http://localhost:3050

API Endpoints

BatchGetSecretValue

Implements the AWS Secrets Manager BatchGetSecretValue operation.

curl -X POST http://localhost:3050/ \
  -H "Content-Type: application/x-amz-json-1.1" \
  -H "X-Amz-Target: secretsmanager.BatchGetSecretValue" \
  -d '{"SecretIdList": ["my-secret-1", "my-secret-2"]}'

Health Check

curl http://localhost:3050/up

Running Tests

bin/rails test

Architecture

  • Framework: Rails 8.1 (API-only mode)
  • Web Server: Falcon
  • Database: None (in-memory only)

About

A proxy for AWS Secrets Manager.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages