We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f56d470 commit 26820ecCopy full SHA for 26820ec
command/status.go
@@ -71,6 +71,11 @@ func (c *StatusCommand) Run(args []string) int {
71
return 1
72
}
73
74
+ // Always query in the root namespace.
75
+ // Although seal-status is present in other namespaces, it will not
76
+ // be available until Vault is unsealed.
77
+ client.SetNamespace("")
78
+
79
status, err := client.Sys().SealStatus()
80
if err != nil {
81
c.UI.Error(fmt.Sprintf("Error checking seal status: %s", err))
0 commit comments