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

# CWKeychainFindWiFiPassword(_:_:_:)

Finds and returns, by reference, the password for the SSID and keychain domain you specify.

```
func CWKeychainFindWiFiPassword(_ domain: CWKeychainDomain, _ ssid: Data, _ password: AutoreleasingUnsafeMutablePointer<NSString?>?) -> 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)