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 854da08e45
commit 1136381637
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { if err := c.setupPolicyStore(ctx); err != nil {
return err return err
} }
if err := c.setupManagedKeyRegistry(); err != nil {
return err
}
if err := c.loadCORSConfig(ctx); err != nil { if err := c.loadCORSConfig(ctx); err != nil {
return err return err
} }

View file

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