{"id":18585324,"url":"https://github.com/tyhopp/keychain","last_synced_at":"2025-05-16T06:09:07.427Z","repository":{"id":151821685,"uuid":"624799329","full_name":"tyhopp/keychain","owner":"tyhopp","description":"Keychain property wrapper","archived":false,"fork":false,"pushed_at":"2023-04-07T14:46:40.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T13:57:28.921Z","etag":null,"topics":["keychain","keychain-wrapper","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyhopp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-KeychainItemWrapper.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T09:33:07.000Z","updated_at":"2024-10-13T06:16:36.000Z","dependencies_parsed_at":"2023-07-06T20:01:54.737Z","dependency_job_id":null,"html_url":"https://github.com/tyhopp/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/tyhopp%2Fkeychain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fkeychain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fkeychain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fkeychain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyhopp","download_url":"https://codeload.github.com/tyhopp/keychain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478193,"owners_count":22077676,"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":["keychain","keychain-wrapper","swift"],"created_at":"2024-11-07T00:33:01.711Z","updated_at":"2025-05-16T06:09:02.418Z","avatar_url":"https://github.com/tyhopp.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keychain\n\nSwift module for interacting with [Keychain](https://developer.apple.com/documentation/security/keychain_services) via property wrapper.\n\n## Usage\n\n```swift\n// Define\n@Keychain(service: \"my-app\") var token: String?\n\n// Set\ntoken = \"my-token\"\n\n// Get\nif let token = token {\n    print(token) // my-token\n}\n\n// Delete\ntoken = nil\n```\n\n## Platforms\n\n- macOS 12.0+\n- iOS 15.0+\n- tvOS 15.0+\n- watchOS 8.0+\n\nSee the [CI config](./.github/workflows/test.yaml) for exact tests that are run for each PR.\n\n## Licenses\n\nThe source code is adopted from these sources with a few small adjustments:\n\n- [`KeychainPasswordItem`](https://developer.apple.com/library/archive/samplecode/GenericKeychain/Listings/GenericKeychain_KeychainPasswordItem_swift.html) from Apple\n- [`KeychainItemWrapper`](https://github.com/Automattic/simplenote-ios/blob/3c404525449672d08e93380b4ef4a30054de1847/Simplenote/Classes/KeychainManager.swift) from Automattic\n\nThe licenses are linked in the source files and available in the repo without modification:\n\n- [KeychainPasswordItem](./LICENSE-KeychainPasswordItem.md)\n- [KeychainItemWrapper](./LICENSE-KeychainItemWrapper.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Fkeychain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyhopp%2Fkeychain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Fkeychain/lists"}