expose 'storage_type' on the sys/seal-status endpoint (#7486)

* expose 'storage_type' on the sys/seal-status endpoint

* add comments

* Update vault/core.go

Co-Authored-By: Brian Kassouf <briankassouf@users.noreply.github.com>
This commit is contained in:
Matthew Irish
2019-09-18 14:07:18 -05:00
committed by GitHub
parent c69481ebe2
commit 545a4b1242
4 changed files with 17 additions and 0 deletions

View File

@@ -664,6 +664,7 @@ func (c *ServerCommand) Run(args []string) int {
coreConfig := &vault.CoreConfig{
Physical: backend,
RedirectAddr: config.Storage.RedirectAddr,
StorageType: config.Storage.Type,
HAPhysical: nil,
Seal: barrierSeal,
AuditBackends: c.AuditBackends,