mirror of
https://github.com/hanzoai/mpc.git
synced 2026-10-30 19:45:28 +00:00
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).
12 lines
308 B
Go
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)")
|
|
}
|