KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a cert in a key chain that contains a private key. I'd like to add an application to the access control "white list" for that key. I know how to do this using the graphical key chain tool, but I'd like to do it via the command line as part of an Xcode build script. From what I can tell the "security" command is the way to manipulate key chains at the command line, but I can't figure out from the man page how I'd go about accomplishing this task. For completeness, here's exactly what I do in the key chain tool that I'd like to do via the command line: Click the cert to show its private key. Right-click the private key and select the "Get Info" menu item. Click the "Access Control" tab. Click the "+" button to add an application to the white list. Select the application (in my case Xcode) and click "Add". I might also be interested in how to allow access to all applications.
Tags (comma-separated)
Save Edits
Cancel