21 lines
378 B
Go
21 lines
378 B
Go
// Copyright IBM Corp. 2020, 2026
|
|
// 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/gcpckms/v2"
|
|
)
|
|
|
|
func main() {
|
|
if err := gkwp.ServePlugin(gcpckms.NewWrapper()); err != nil {
|
|
fmt.Println("Error serving plugin", err)
|
|
os.Exit(1)
|
|
}
|
|
os.Exit(0)
|
|
}
|