2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2018-10-23 06:34:02 +00:00
|
|
|
package command
|
|
|
|
|
|
|
|
import (
|
2019-10-17 17:33:00 +00:00
|
|
|
"github.com/hashicorp/vault/command/server"
|
2018-10-23 06:34:02 +00:00
|
|
|
"github.com/hashicorp/vault/vault"
|
|
|
|
)
|
|
|
|
|
2022-06-08 21:15:28 +00:00
|
|
|
var (
|
|
|
|
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
|
2022-11-10 21:46:59 +00:00
|
|
|
storageSupportedForEnt = checkStorageTypeForEntNoop
|
2022-06-08 21:15:28 +00:00
|
|
|
)
|
2018-10-23 06:34:02 +00:00
|
|
|
|
2020-02-15 00:39:13 +00:00
|
|
|
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
|
|
|
|
}
|
2022-02-17 18:03:57 +00:00
|
|
|
|
|
|
|
var getFIPSInfoKey = getFIPSInfoKeyNoop
|
|
|
|
|
|
|
|
func getFIPSInfoKeyNoop() string {
|
|
|
|
return ""
|
|
|
|
}
|
2022-06-08 21:15:28 +00:00
|
|
|
|
2022-11-10 21:46:59 +00:00
|
|
|
func checkStorageTypeForEntNoop(coreConfig *vault.CoreConfig) bool {
|
|
|
|
return true
|
2022-06-08 21:15:28 +00:00
|
|
|
}
|