open-vault/vault/managed_key_registry.go
Victor Rodriguez f7f6f937e4
Invalidate the ManagedKeyRegistry cache when Vault config is updated. (#14179)
Add the hook needed to implement this functionality in vault-enterprise.
2022-02-21 09:55:44 -05:00

18 lines
570 B
Go

//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
}