Open source CLI tool

API requests without the credential hassle

sreq automatically resolves service URLs and credentials from Consul, AWS Secrets Manager, and more — so you can focus on building, not configuring.

$brew install Priyans-hu/tap/sreq

Everything you need

Built for teams that manage microservices across multiple environments.

Auto Credentials

Fetches secrets from Consul, AWS Secrets Manager, env vars, and dotenv files. No more manual token juggling.

Service Discovery

Resolves service URLs from providers automatically. Just specify the service name and environment.

Multi-Environment

Switch between dev, staging, and prod with a single flag. Each environment gets its own credential chain.

Interactive TUI

Browse services, build requests, and view history in a terminal UI. Or use the familiar CLI syntax.

Request History

Track, replay, and export previous requests as curl or HTTPie commands. Never lose a request again.

Secure Caching

AES-256 encrypted local credential cache with TTL. Supports offline mode for working without network access.

See it in action

One command. Automatic service discovery and credential injection.

terminal
$ sreq POST /api/v1/users -s auth-service -e dev -d '{"name":"test"}'
→ Resolving auth-service in dev...
→ Found: https://auth.dev.internal:8443
→ Fetching credentials from AWS Secrets Manager...
→ Using token: sk-...redacted
HTTP/1.1 201 Created
Content-Type: application/json
{
"id": "usr_2kF9xL",
"name": "test",
"created_at": "2026-01-29T10:00:00Z"
}

Get started in seconds

Three simple steps to never copy-paste credentials again.

1

Install

One command via Homebrew, curl, or go install.

2

Configure

Point sreq at your service registry. Or just use environment variables.

3

Request

Make requests with automatic credential injection. No tokens to copy-paste.

Installation

Pick your preferred method and get started.

brew install Priyans-hu/tap/sreq