{"repo":"square/Valet","free":true,"listed":false,"github":"https://github.com/square/Valet","clone":"git clone https://github.com/square/Valet.git","description":"Valet lets you securely store data in the iOS, tvOS, watchOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise.","language":"Swift","stars":4173,"topics":["keychain","touch-id","face-id","security","ios","tvos","watchos","macos","crypto"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Valet Valet lets you securely store data in the iOS, tvOS, watchOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise. Getting Started Swift Package Manager Install with Swift Package Manager by adding the following to your Package.swift : CocoaPods Install with CocoaPods by adding the following to your Podfile : Carthage Install with Carthage by adding the following to your Cartfile : Run carthage to build the framework and drag the built Valet.framework into your Xcode project. Submodules Or manually checkout the submodule with git submodule add git@github.com:Square/Valet.git , drag Valet.xcodeproj to your project, and add Valet as a build dependency. Usage Prefer to learn via watching a video? Check out this video tutorial. Note that this video was recorded during the Valet 4 release. Basic Initialization To begin storing data securely using Valet, you need to create a Valet instance with: An identifier – a non-empty string that is used to identify this Valet. The Swift API uses an Identifier wrapper class to enforce the non-empty constraint. An accessibility value – an enum (Accessibility) that defines when you will be able to persist and retrieve data. This myValet instance can be used to store and retrieve data securely on this device, but only when the device is unlocked. Choosing the Best Identifier The identifier you choose for your Valet is used to create a sandbox for the data your Valet writes to the keychain. Two Valet","default_branch":null,"files":null,"tree":[],"storefront":"/r/square","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/square/Valet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}