<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreWLAN",
  "identifier" : "/documentation/CoreWLAN/CWKeychainSetWiFiEAPIdentity(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core WLAN"
    ],
    "preciseIdentifier" : "c:@F@CWKeychainSetWiFiEAPIdentity"
  },
  "title" : "CWKeychainSetWiFiEAPIdentity(_:_:_:)"
}
-->

# CWKeychainSetWiFiEAPIdentity(_:_:_:)

Associates an identity to the SSID and keychain domain you specify.

```
func CWKeychainSetWiFiEAPIdentity(_ domain: CWKeychainDomain, _ ssid: Data, _ identity: SecIdentity?) -> OSStatus
```

---

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)