backport of commit 3ace92c429 (#17579)

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2022-10-18 10:06:15 -04:00
committed by GitHub
parent 18cc72a5a9
commit de554642e0
2 changed files with 4 additions and 1 deletions

3
changelog/17577.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
cli: Remove empty table heading for `vault secrets list -detailed` output.
```

View File

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