Files
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
284 B
Go

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