Add keychain supported helper function