From 70da33ce56fc92219a14cceba10ca086f0712c8e Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Thu, 7 May 2026 14:11:08 -0600 Subject: [PATCH] dev mode: skip auto register ent plugins (#14382) (#14387) Co-authored-by: John-Michael Faircloth --- command/server.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/command/server.go b/command/server.go index 8d62df557c..fe3281768e 100644 --- a/command/server.go +++ b/command/server.go @@ -3069,6 +3069,16 @@ func initDevCore(c *ServerCommand, coreConfig *vault.CoreConfig, config *server. for _, name := range list { path := filepath.Join(f.Name(), name) + + // Skip directories (e.g., enterprise plugin packages) + fileInfo, err := os.Stat(path) + if err != nil { + return fmt.Errorf("Error reading plugin file info %s: %s", name, err) + } + if fileInfo.IsDir() { + continue + } + if err := c.addPlugin(path, init.RootToken, core); err != nil { if !errwrap.Contains(err, plugincatalog.ErrPluginBadType.Error()) { return fmt.Errorf("Error enabling plugin %s: %s", name, err)