Add no-op method setupManagedKeyRegistry(). (#13433)

This commit is contained in:
Victor Rodriguez
2021-12-14 16:00:17 -05:00
committed by GitHub
parent 40a1c19418
commit 9b86b8cf90
2 changed files with 10 additions and 0 deletions

View File

@@ -2043,6 +2043,9 @@ func (s standardUnsealStrategy) unseal(ctx context.Context, logger log.Logger, c
if err := c.setupPolicyStore(ctx); err != nil {
return err
}
if err := c.setupManagedKeyRegistry(); err != nil {
return err
}
if err := c.loadCORSConfig(ctx); err != nil {
return err
}

View File

@@ -0,0 +1,7 @@
// +build !enterprise
package vault
func (c *Core) setupManagedKeyRegistry() error {
return nil
}