Files
mpc/pkg/hsm/zymbit_stub.go
zeekay da73a2e716 feat: add multi-backend HSM provider with AWS, GCP, Azure, Zymbit, and KMS support
Six HSM backends behind a unified Provider interface:
- file: Local filesystem (default)
- aws: AWS KMS + Secrets Manager
- gcp: Google Cloud KMS (build tag gated)
- azure: Azure Key Vault / Managed HSM (build tag gated)
- zymbit: Zymbit ZYMKEY/HSM6 REST API (build tag gated)
- kms: Hanzo KMS (kms.hanzo.ai) via Universal Auth

HSM wired into API server health endpoint and node startup.
All branded as KMS (no upstream references).
2026-02-24 01:28:37 -08:00

12 lines
308 B
Go

//go:build !zymbit
package hsm
import "fmt"
// NewZymbitProvider returns an error when compiled without the zymbit build tag.
// Build with: go build -tags zymbit
func NewZymbitProvider(cfg *ZymbitConfig) (Provider, error) {
return nil, fmt.Errorf("hsm/zymbit: not compiled (build with -tags zymbit)")
}