I want to move my keys from login keychain to system keychain from terminal. Is that possible? I checked the security manual but I can not see the option there to do so.

  • You commented this is for Xcode on a server. There are better approaches to giving Xcode access to keys and certificates that do not involve system.keychain. Please can you ask a question that deals with what you really want to solve. – Graham Miln Feb 17 '16 at 11:09
  • See stackoverflow.com/questions/1355637/… for an example of getting Xcode to use a non-default keychain. You can unlock and leave a keychain accessible without a password, if needed. – Graham Miln Feb 17 '16 at 11:35


The login keychain is for your user account. Moving that data to the system keychain would make your information available to all user accounts including 'Guest' accounts. Do you really want to do that?

I don't know if it is possible to do what you want, but if I look at my login keychain it includes my personal passwords, Apple ID, public keys (no problem), and private keys. These should never be made available to anyone. They are private for a reason.

Don't do this.

  • Yes i know whats that mean and i want to do this. Its needed for Xcode server to operate on system Keychain – Jakub Feb 17 '16 at 10:55
  • Good luck then. I see dump-keychain, export & import. That should get you somewhere – PeterVP Feb 17 '16 at 11:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .