2026-04-06 15:48:37 +05:30
|
|
|
// Copyright IBM Corp. 2020, 2026
|
2023-02-02 17:15:17 -08:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2022-03-16 17:04:07 -04: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{
|
2022-10-25 18:29:38 -05:00
|
|
|
"aead": func() (any, error) {
|
2022-03-16 17:04:07 -04:00
|
|
|
return aead.NewWrapper(), nil
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|