Computer Configuration > Administrative Templates > Microsoft Edge > Password manager and protection
Both
HKLM\Software\Policies\Microsoft\Edge
When this policy is enabled, the passwords saved with Edge Password Manager are exempted from deletion when the browser closes. This policy is only effective when the 'ClearBrowsingDataOnExit' (Clear browsing data when Microsoft Edge closes) policy is enabled. If you enable this policy, passwords won't be cleared when the browser closes. If you disable or don't configure this policy, the user's personal configuration is used.