---
title: kSecSharedPassword
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecsharedpassword
---

# kSecSharedPassword

A dictionary key whose value is the shared password.

## Declaration

```swift
let kSecSharedPassword: CFString
```

## Discussion

Discussion The dictionary returned by the SecRequestSharedWebCredential(_:_:_:) function includes this key to provide you with the password. You can also access the server’s URL and the user name from this dictionary. To access the server, use the kSecAttrServer constant. To access the user name, use the kSecAttrAccount constant. These constants are part of the Keychain services API, and in particular are listed among the Item attribute keys and values.
