---
title: SecKeychainAttributeInfo
framework: security
role: symbol
role_heading: Structure
path: security/seckeychainattributeinfo
---

# SecKeychainAttributeInfo

A structure that represents an attribute.

## Declaration

```swift
struct SecKeychainAttributeInfo
```

## Overview

Overview Each tag and format item form a pair. Use SecKeychainAttributeInfoForItemID(_:_:_:) to obtain the structure for a given keychain item, and SecKeychainFreeAttributeInfo(_:) to release that structure’s memory when you are done with it. Use an instance of this structure in a call to the SecKeychainItemCopyAttributesAndData(_:_:_:_:_:_:) function to specify the attributes of a keychain item to retrieve.

## Topics

### Instance Properties

- [count](security/seckeychainattributeinfo/count.md)
- [format](security/seckeychainattributeinfo/format.md)
- [tag](security/seckeychainattributeinfo/tag.md)

### Initializers

- [init(count:tag:format:)](security/seckeychainattributeinfo/init(count:tag:format:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
