---
title: kSecAttrServer
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrserver
---

# kSecAttrServer

A key whose value is a string indicating the item’s server.

## Declaration

```swift
let kSecAttrServer: CFString
```

## Mentioned in

Adding a password to the keychain

## Discussion

Discussion The corresponding value is of type CFString and contains the server’s domain name or IP address. Items of class kSecClassInternetPassword have this attribute.
