mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 03:57:01 +02:00
- Add the kms_library configuration stanza to Vault's command/server - Provide validation of keys and general configuration. - Add initial kms_library configuration documentation - Attempt at startup to verify we can read the configured HSM Library - Hook in KmsLibrary config into the Validate to detect typo/unused keys
24 lines
399 B
Go
24 lines
399 B
Go
// +build !enterprise
|
|
|
|
package server
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadConfigFile_topLevel(t *testing.T) {
|
|
testLoadConfigFile_topLevel(t, nil)
|
|
}
|
|
|
|
func TestLoadConfigFile_json2(t *testing.T) {
|
|
testLoadConfigFile_json2(t, nil)
|
|
}
|
|
|
|
func TestParseEntropy(t *testing.T) {
|
|
testParseEntropy(t, true)
|
|
}
|
|
|
|
func TestKmsLibraryFailsForNonHSMBinary(t *testing.T) {
|
|
testKmsLibraryFailsForNonHSMBinary(t)
|
|
}
|