An opaque type that contains information about how a keychain item may be used.


typedef struct __SecAccessControl SecAccessControlRef;

See Also

Keychain Item Access

Sharing Access to Keychain Items Among a Collection of Apps

Enable apps to share keychain items with each other by adding the apps to an access group.

Keychain Access Groups Entitlement

The identifiers for the keychain groups that the app may share items with.

Key: keychain-access-groups
Restricting Keychain Item Accessibility

Set the conditions under which an app can access a keychain item such as a password.


Creates a new access control object with the specified protection type and flags.


Access control constants that dictate how a keychain item may be used.


Returns the unique identifier of the opaque type to which a keychain item access control object belongs.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software