Contents

Search attribute keys and values

Filter a keychain item search.

Overview

When looking for items using any of the SecItemCopyMatching(_:_:), SecItemUpdate(_:_:), or SecItemDelete(_:) functions, you specify a query dictionary containing both the item attributes to look for (see Item attribute keys and values) and additional search attributes that condition the search. For example, you can use the matching key kSecMatchLimit with value kSecMatchLimitOne to restrict the output to include only the first result even when more than one item matches.

Topics

Item search matching keys

Match limit values

Additional item search keys

UI authentication values