//go:build noazurekms

package azurekms

import (
	"context"
	"os"
	"path/filepath"

	"github.com/pkg/errors"

	"go.step.sm/crypto/kms/apiv1"
)

func init() {
	apiv1.Register(apiv1.AzureKMS, func(ctx context.Context, opts apiv1.Options) (apiv1.KeyManager, error) {
		name := filepath.Base(os.Args[0])
		return nil, errors.Errorf("unsupported kms type 'azurekms': %s is compiled without Azure KMS support", name)
	})
}
