How to store a key-value pair in the system-level keychain on macOS, ensuring it is accessible to all users of mac.

Dear Team,

I'm encountering challenges in securely storing key-value pairs at the system level keychain on macOS, with the requirement for universal accessibility of that values across all the users in mac. Is it feasible to fulfill this requirement using Keychain?

Are there any alternative secure methods for achieving this? Your assistance in finding a solution would be greatly appreciated.

Thank you in advance!

I’m not sure whether it being possible or not is the relevant point here. If you’re making a key available to all users at all times, what’s the point of storing it in the keychain? What security benefit do you get? Or is there some other benefits?

Honestly, I suspect that you might as well just store it in a file that’s world readable.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to store a key-value pair in the system-level keychain on macOS, ensuring it is accessible to all users of mac.
 
 
Q