<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecKeyImportExportFlags/noAccessControl",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@SecKeyImportExportFlags@kSecKeyNoAccessControl"
  },
  "title" : "noAccessControl"
}
-->

# noAccessControl

A flag that indicates imported private keys have no access object attached to them.

```
static var noAccessControl: SecKeyImportExportFlags { get }
```

## Discussion

In the absence of both this bit and the [`accessRef`](/documentation/Security/SecItemImportExportKeyParameters/accessRef) field in the [`SecItemImportExportKeyParameters`](/documentation/Security/SecItemImportExportKeyParameters) structure, imported private keys receive default access controls.

---

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)