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
Click to show internal directories.
Click to hide internal directories.