fastlane-community / security

A Ruby library for interacting with the macOS Keychain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to add/remove passwords from non default keychain

lacostej opened this issue · comments

To add / delete password to the non default keychain the commands security add-*-password and security delete-*-password take as optional argument the keychain or uses the default keychain.

There's no way to specify a non default keychain in the current API: https://github.com/mattt/security/blob/master/lib/security/password.rb#L84

Workaround: modify the default keychain temporarily from the CL