# jrendel/SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.

Repository: https://github.com/jrendel/SwiftKeychainWrapper
Canonical: https://ross.abutalabs.com/products/swiftkeychainwrapper
Language: Swift
License: MIT
License Family: permissive
Archived: true
Last push: 2023-01-10T15:07:30+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4361, "days_push": 1331, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1591, forks 339 (observed 2026-08-28T04:05:08.575507+00:00)

## What it is
A Swift wrapper around the iOS/tvOS Keychain that lets developers store and retrieve secure items with a User Defaults-like API. It provides a standard singleton plus customizable service name and access group instances.

## Use cases
- store passwords or tokens securely on ios
- save strings to the keychain like userdefaults
- share keychain items between apps via access groups
- wrap ios keychain in a simple swift api
- persist sensitive data in a tvos app

## When to choose
- you need a dead-simple keychain wrapper for a legacy swift project
- you want userdefaults-style syntax for keychain storage
- you need basic generic-password keychain storage with accessibility options

## When to avoid
- starting a new project - the library is deprecated and unmaintained
- you need advanced keychain features like keychain queries or item classes
- you need ongoing compatibility with the latest swift and ios versions

## Facets
- artifact type: library
- maturity: abandoned
- function: security, cryptography, sdk
- domain: mobile-development, security, apple-ecosystem
- platform: -
- tags: keychain, swift, user-defaults, deprecated, secure-storage, ios, mobile

## Member repositories
- jrendel/SwiftKeychainWrapper (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.575507+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:44.422553+00:00, confidence not recorded.
  - readme: https://github.com/jrendel/SwiftKeychainWrapper (fetched 2026-08-28T04:05:08.575507+00:00, sha b303e4fc41dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
