---
title: SecItemAttr.serviceItemAttr
framework: security
role: symbol
role_heading: Case
path: security/secitemattr/serviceitemattr
---

# SecItemAttr.serviceItemAttr

Identifies the service attribute.

## Declaration

```swift
case serviceItemAttr
```

## Discussion

Discussion You use this tag to set or get a string that represents the service associated with this item, for example, “iTools”. This is unique to generic password attributes. Keychain strings should use UTF-8 encoding.
