MacOS 10.15 Catalina asks "AMPDevicesAgent wants to use your confidential information stored in iOS backup in your keychain"

The process name is a legitimate process running as part of an iOS device local backup. Enter your login Keychain password to proceed.

To check that the prompt is actually on behalf of the right process, open Activity Monitor, search for the process name, select Sample Process and confirm the path is within

/System/Library/PrivateFrameworks/AMPDevices.framework

The real fix to stop the error message from appearing is to add AMPDevicesAgent access to iOS Backup in Keychain, which you can do from Keychain Access as usual (link to my blog post has steps if you need, I think it’s a bit off topic for this Q&A).