2023-01-03 17:19:20 -05:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2022-06-01 13:17:49 -07:00
|
|
|
package kms_plugin_assets
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/hashicorp/go-kms-wrapping/v2/aead"
|
|
|
|
|
"github.com/hashicorp/go-secure-stdlib/pluginutil/v2"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func BuiltinKmsPlugins() map[string]pluginutil.InmemCreationFunc {
|
|
|
|
|
return map[string]pluginutil.InmemCreationFunc{
|
|
|
|
|
"aead": func() (interface{}, error) {
|
|
|
|
|
return aead.NewWrapper(), nil
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|