Files
terraform-provider-threshold/plugins/kms/mains/awskms/main.go
T
hashicorp-copywrite[bot] f9819533db [COMPLIANCE] Add Copyright and License Headers (#312)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-01-03 17:19:20 -05:00

21 lines
374 B
Go

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