You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/plugins/kms/mains/transit/main.go

21 lines
377 B

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package main
import (
"fmt"
"os"
gkwp "github.com/hashicorp/go-kms-wrapping/plugin/v2"
"github.com/hashicorp/go-kms-wrapping/wrappers/transit/v2"
)
func main() {
if err := gkwp.ServePlugin(transit.NewWrapper()); err != nil {
fmt.Println("Error serving plugin", err)
os.Exit(1)
}
os.Exit(0)
}