I'm adding a Keychain entry programatically onto a machine via the security command as such:
security add-generic-password -a "[email protected]" -s "Exchange" w "P@ssw0rd!" -T "/Applications/Microsoft Outlook"
It looks great, just like one generated one when you set up Outlook! However, I still get the "Microsoft Outlook wants to access key Exchange in your keychain" prompt when the user opens Outlook.
Have I missed a step here somewhere? I was of the impression that -T allowed applications to access a keychain entry unprompted?
man
saysYou can remove this default access by explicitly specifying an empty app pathname: -T ""
however if I do that it still prompts as well...and if I don't specify any-T
it seems all applications can still see and prompt for it... see also openradar.appspot.com/28524119