Unset worker auth when Boundary dev uses a kms worker (#2786)

This commit is contained in:
Irena Rindos authored and GitHub committed 2023-01-13 12:03:05 -05:00
1 parent e2248c1360
commit e238893c21
1 file changed
+3
+3
View File
@@ -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