diff --git a/changelog/17577.txt b/changelog/17577.txt new file mode 100644 index 000000000000..2794e5f550da --- /dev/null +++ b/changelog/17577.txt @@ -0,0 +1,3 @@ +```release-note:bug +cli: Remove empty table heading for `vault secrets list -detailed` output. +``` \ No newline at end of file diff --git a/command/secrets_list.go b/command/secrets_list.go index 222534f4398f..998620f0964a 100644 --- a/command/secrets_list.go +++ b/command/secrets_list.go @@ -145,7 +145,7 @@ func (c *SecretsListCommand) detailedMounts(mounts map[string]*api.MountOutput) } } - out := []string{"Path | Plugin | Accessor | Default TTL | Max TTL | Force No Cache | Replication | Seal Wrap | External Entropy Access | Options | Description | UUID | Version | Running Version | Running SHA256 | | Deprecation Status"} + out := []string{"Path | Plugin | Accessor | Default TTL | Max TTL | Force No Cache | Replication | Seal Wrap | External Entropy Access | Options | Description | UUID | Version | Running Version | Running SHA256 | Deprecation Status"} for _, path := range paths { mount := mounts[path]