2022-01-05 18:02:03 +00:00
|
|
|
//go:build !enterprise
|
2021-12-14 21:00:17 +00:00
|
|
|
|
|
|
|
package vault
|
|
|
|
|
2022-02-04 21:06:32 +00:00
|
|
|
// 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/"
|
|
|
|
|
2021-12-14 21:00:17 +00:00
|
|
|
func (c *Core) setupManagedKeyRegistry() error {
|
2022-02-21 14:55:44 +00:00
|
|
|
// Nothing to do, the registry is only used by enterprise features
|
2021-12-14 21:00:17 +00:00
|
|
|
return nil
|
|
|
|
}
|
2022-02-21 14:55:44 +00:00
|
|
|
|
|
|
|
func (c *Core) ReloadManagedKeyRegistryConfig() {
|
|
|
|
// Nothing to do, the registry is only used by enterprise features
|
|
|
|
}
|