I'm using the following command to fetch a password from the Keychain in a shell script: security find-generic-password -w -s "MyServiceName"
It works, but it's showing a popup window asking me for the login keychain password:
security
wants to use your confidential information stored in "MyServiceName" in your keychain. To allow this, enter the "login" keychain password.With the options to
Deny
,Allow
orAlways Allow
But I don't want to enter my keychain password every time, so I can't use "Allow" and I'd rather not "Always Allow" in order to keep some level of security here.
Ideally I'd like to get a Touch ID prompt instead. Is there any way to do this ?