Appium how to access iOS keychain to view certificates?

Hi,
Is there a way Appium can be used to get access to the iOS app’s keychain to inspect profiles? Let’s say I want to ensure MDM or any configuration profile is installed? Is there a way to do it using Appium?

Thanks,
Paddy