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

RELENG-305
Irena Rindos 3 years ago committed by GitHub
parent e2248c1360
commit e238893c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save