open-vault/vault/managed_key_registry.go

21 lines
640 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !enterprise
package vault
// managedKeyRegistrySubPath is the storage prefix used by the registry.
// We need to define the constant even though managed keys is a Vault Enterprise
// feature in order to set up seal wrapping in the SystemBackend.
const managedKeyRegistrySubPath = "managed-key-registry/"
func (c *Core) setupManagedKeyRegistry() error {
// Nothing to do, the registry is only used by enterprise features
return nil
}
func (c *Core) ReloadManagedKeyRegistryConfig() {
// Nothing to do, the registry is only used by enterprise features
}