{"id":15097987,"url":"https://github.com/ionic-team/cordova-plugin-ios-keychain","last_synced_at":"2025-10-08T03:31:02.644Z","repository":{"id":44162209,"uuid":"63361056","full_name":"ionic-team/cordova-plugin-ios-keychain","owner":"ionic-team","description":"Apache Cordova (PhoneGap) plugin","archived":false,"fork":true,"pushed_at":"2022-02-11T14:34:48.000Z","size":67,"stargazers_count":64,"open_issues_count":14,"forks_count":44,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-18T21:58:27.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SpiderOak/KeychainPlugin","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionic-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-14T18:43:26.000Z","updated_at":"2024-12-18T10:05:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ionic-team/cordova-plugin-ios-keychain","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcordova-plugin-ios-keychain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcordova-plugin-ios-keychain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcordova-plugin-ios-keychain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcordova-plugin-ios-keychain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/cordova-plugin-ios-keychain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235678929,"owners_count":19028301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-25T16:41:56.582Z","updated_at":"2025-10-08T03:30:57.354Z","avatar_url":"https://github.com/ionic-team.png","language":"Objective-C","readme":"Keychain Plugin for Apache Cordova\n=====================================\ncreated by Shazron Abdullah\n\nUpdated by Max Lynch \u003cmax@ionic.io\u003e\n\n_Maintenance Status_:\n\nLooking for maintainer. PRs and community contributions welcome.\n\n### Alternative: Enterprise Keychain and Keystore\n\nFor enterprise use cases requiring secret storage with biometric authentication for iOS (keychain) and Android (Keystore), see [Identity Vault](https://ionicframework.com/enterprise/identity-vault).\n\n### Installation\n\n```shell\ncordova plugin add https://github.com/ionic-team/cordova-plugin-ios-keychain\n```\n\n### iCloud keychain enabled\n\niCloud keychain synchonizing is enabled, so the keychain will be mirrored across all devices *if* the user is signed in to iCloud (Settings \u003e iCloud) and has iCloud keychain turned on (Settings \u003e iCloud \u003e Keychain)\n\n### Usage\n              \nSee the **example** folder for example usage.\n\n```js\n/*\n Retrieves a value for a key\n \n @param successCallback returns the value as the argument to the callback when successful\n @param failureCallback returns the error string as the argument to the callback, for a failure\n @param key the key to retrieve\n @param TouchIDMessage the message to show underneath the TouchID prompt (if any)\n */\nKeychain.get(successCallback, failureCallback, 'key', 'TouchID Message');\n\n/*\n Sets a value for a key\n \n @param successCallback returns when successful\n @param failureCallback returns the error string as the argument to the callback, for a failure\n @param key the key to set\n @param value the value to set\n @param useTouchID whether to store the value with security such that TouchID will be needed to grab it\n */\nKeychain.set(successCallback, failureCallback, 'key', 'value', useTouchID);\n\n/*\n Removes a value for a key\n \n @param successCallback returns when successful\n @param failureCallback returns the error string as the argument to the callback\n @param key the key to remove\n */\nKeychain.remove(successCallback, failureCallback, 'key');\n\n/*\n Sets a JSON value for a key \n \n @param successCallback returns when successful\n @param failureCallback returns the error string as the argument to the callback, for a failure\n @param key the key to set\n @param value the value to set\n @param useTouchID whether to store the value with security such that TouchID will be needed to grab it\n */\nKeychain.setJson(successCallback, failureCallback, 'key', 'value', useTouchID);\n\n/*\n Gets a JSON value for a key \n \n @param successCallback returns when successful\n @param failureCallback returns the error string as the argument to the callback, for a failure\n @param key the key to set\n @param value the value to set\n @param useTouchID whether to store the value with security such that TouchID will be needed to grab it\n */\nKeychain.getJson(successCallback, failureCallback, 'key', useTouchID);\n```\n\n### License \n\n[Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html) except for the Auth0 SimpelKeychain code that is under MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcordova-plugin-ios-keychain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Fcordova-plugin-ios-keychain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcordova-plugin-ios-keychain/lists"}