feat(bsr): add bsr kms support in config, dev and tests
This commit is contained in:
1 parent
a8574621c7
commit
20cf521cc0
10 files changed
+99
-7
No files matched your search
@@ -85,4 +85,17 @@ func Test_TestController(t *testing.T) {
|
||||
require.NoError(err)
|
||||
assert.Equal(testLdapAuthMethodId, got.GetPublicId())
|
||||
})
|
||||
t.Run("controller-external-wrappers", func(t *testing.T) {
|
||||
testCtx := context.Background()
|
||||
assert := assert.New(t)
|
||||
tc := NewTestController(t, nil)
|
||||
defer tc.Shutdown()
|
||||
|
||||
ws := tc.Kms().GetExternalWrappers(testCtx)
|
||||
|
||||
assert.NotNil(ws.Root())
|
||||
assert.NotNil(ws.WorkerAuth())
|
||||
assert.NotNil(ws.Recovery())
|
||||
assert.NotNil(ws.Bsr())
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user