Skip to content

Commit

Permalink
More demo prettiness
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Oct 7, 2023
1 parent 01049a9 commit b189ded
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/cmd/commands/dev/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,14 +724,18 @@ func (c *Command) Run(args []string) int {
}
}

c.InfoKeys = append(c.InfoKeys, "[Controller] AEAD Key Bytes")
c.Info["[Controller] AEAD Key Bytes"] = c.Config.DevControllerKey
c.InfoKeys = append(c.InfoKeys, "[Root] AEAD Key Bytes")
c.Info["[Root] AEAD Key Bytes"] = c.Config.DevControllerKey
c.InfoKeys = append(c.InfoKeys, "[Recovery] AEAD Key Bytes")
c.Info["[Recovery] AEAD Key Bytes"] = c.Config.DevRecoveryKey
c.InfoKeys = append(c.InfoKeys, "[Worker-Auth] AEAD Key Bytes")
c.Info["[Worker-Auth] AEAD Key Bytes"] = c.Config.DevWorkerAuthKey
c.InfoKeys = append(c.InfoKeys, "[Bsr] AEAD Key Bytes")
c.Info["[Bsr] AEAD Key Bytes"] = c.Config.DevBsrKey
if c.Config.DevWorkerAuthStorageKey != "" {
c.InfoKeys = append(c.InfoKeys, "[Worker-Auth-Storage] AEAD Key Bytes")
c.Info["[Worker-Auth-Storage] AEAD Key Bytes"] = c.Config.DevWorkerAuthStorageKey
}

// Initialize the listeners
if err := c.SetupListeners(c.UI, c.Config.SharedConfig, []string{"api", "cluster", "proxy", "ops"}); err != nil {
Expand Down

0 comments on commit b189ded

Please sign in to comment.