Sets the application list, description, and prompt selector for a given ACL entry.
- macOS 10.7+
The ACL entry to modify.
An array of
Secinstances identifying apps that are allowed access to the keychain item without user confirmation. Use the
Secmethod to create trusted app objects.
Trusted Application Create From Path(_: _:)
If you set this parameter to
nil, then any app can use this item. If you pass an empty array, then no apps are trusted.
The name of the keychain item that appears in the dialog box when the user is prompted for permission to use the item. Note that this name is not necessarily the same as the one displayed for the item by the Keychain Access app.
The prompt selector flags for the given access control list entry. See
Keychain Prompt Selector
A result code. See Security Framework Result Codes.
Because an ACL entry is always associated with an access instance, when you modify the entry, you are modifying the access instance as well.
Sec method to get the list of operations for an ACL entry.