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