safari app extension example password

For several reasons I can not use iCloud keychain to backup my username/passwords for web sites. As far as I can tell I can not use the SecItem* methods to do a backup for myself. So I am stuck trying to see how to write a safari app extension to save/load username/passwords for myself. Is there an example of tsomething like this floating around?


Thanks,