<!--
{
  "availability" : [
    "macOS: 10.7.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecACLUpdateAuthorizations(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecACLUpdateAuthorizations"
  },
  "title" : "SecACLUpdateAuthorizations(_:_:)"
}
-->

# SecACLUpdateAuthorizations(_:_:)

Sets the authorization tags for a given ACL.

```
func SecACLUpdateAuthorizations(_ acl: SecACL, _ authorizations: CFArray) -> OSStatus
```

## Parameters

`acl`

An ACL object that identifies the access control list entry for which you wish to set authorization tags.

`authorizations`

An array of authorization tags. See `CSSM_ACL_AUTHORIZATION_TAG` for details.

## Return Value

A result code. See [Security Framework Result Codes](/documentation/Security/security-framework-result-codes).

## Discussion

An ACL entry includes a list of trusted apps, the name of the keychain item as it appears in user prompts, the prompt selector flag, and a list of one or more operations to which this ACL entry applies. Use this method to set a list of operations for an ACL entry, or set the [`kSecACLAuthorizationAny`](/documentation/Security/kSecACLAuthorizationAny) tag to allow all operations. Use the [`SecACLSetContents(_:_:_:_:)`](/documentation/Security/SecACLSetContents(_:_:_:_:)) method to set the other information.

Because an ACL entry is always associated with an access instance, when you modify an entry, you are modifying the access instance as well.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)