Update to go-kms-wrapping version 2, and plugin-based KMS (#1901)
This commit is contained in:
1 parent
89273a2f3e
commit
7eb29261b2
209 files changed
+4054
-3025
No files matched your search
@@ -28,7 +28,7 @@ import (
|
||||
"github.com/hashicorp/boundary/internal/observability/event"
|
||||
"github.com/hashicorp/boundary/internal/servers"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
wrapping "github.com/hashicorp/go-kms-wrapping"
|
||||
wrapping "github.com/hashicorp/go-kms-wrapping/v2"
|
||||
"github.com/hashicorp/go-secure-stdlib/base62"
|
||||
"github.com/hashicorp/go-secure-stdlib/strutil"
|
||||
"github.com/stretchr/testify/require"
|
||||
@@ -562,7 +562,7 @@ func TestControllerConfig(t *testing.T, ctx context.Context, tc *TestController,
|
||||
tc.b.RootKms = opts.RootKms
|
||||
tc.b.WorkerAuthKms = opts.WorkerAuthKms
|
||||
case opts.RootKms == nil && opts.WorkerAuthKms == nil:
|
||||
if err := tc.b.SetupKMSes(nil, opts.Config); err != nil {
|
||||
if err := tc.b.SetupKMSes(tc.b.Context, nil, opts.Config); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user