From e238893c21f00d43de5a1ddc1c3e8261ef9ab4ba Mon Sep 17 00:00:00 2001 From: Irena Rindos Date: Fri, 13 Jan 2023 12:03:05 -0500 Subject: [PATCH] Unset worker auth when Boundary dev uses a kms worker (#2786) --- internal/cmd/commands/dev/dev.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/cmd/commands/dev/dev.go b/internal/cmd/commands/dev/dev.go index b4ce7e3fb6..f733d70cae 100644 --- a/internal/cmd/commands/dev/dev.go +++ b/internal/cmd/commands/dev/dev.go @@ -627,6 +627,9 @@ func (c *Command) Run(args []string) int { // These must be unset for PKI c.Config.Worker.Name = "" c.Config.Worker.Description = "" + } else { + // This must be unset for KMS + c.WorkerAuthStorageKms = nil } c.InfoKeys = append(c.InfoKeys, "[Controller] AEAD Key Bytes") c.Info["[Controller] AEAD Key Bytes"] = c.Config.DevControllerKey