go

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Example: Remote Signer Go Client with TLS/mTLS

This example demonstrates how to use the Go client SDK to interact with a remote-signer service, including TLS and mTLS configuration.

Usage:

# Set environment variables
export REMOTE_SIGNER_URL=https://localhost:8549
export REMOTE_SIGNER_API_KEY_ID=dev-key-1
export REMOTE_SIGNER_PRIVATE_KEY=<your-ed25519-private-key-hex>

# Run with mTLS
go run main.go \
  --ca-cert ../../certs/ca.crt \
  --client-cert ../../certs/client.crt \
  --client-key ../../certs/client.key

# Run without TLS (plain HTTP)
REMOTE_SIGNER_URL=http://localhost:8548 go run main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL