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
300 B
Go
12 lines
300 B
Go
//go:build !azure
|
|
|
|
package hsm
|
|
|
|
import "fmt"
|
|
|
|
// NewAzureProvider returns an error when compiled without the azure build tag.
|
|
// Build with: go build -tags azure
|
|
func NewAzureProvider(cfg *AzureConfig) (Provider, error) {
|
|
return nil, fmt.Errorf("hsm/azure: not compiled (build with -tags azure)")
|
|
}
|