Global Variable

kSecAttrAccount

A key whose value is a string indicating the item's account name.

Declaration

const CFStringRef kSecAttrAccount;

Discussion

The corresponding value is of type CFStringRef and contains an account name. Items of class kSecClassGenericPassword and kSecClassInternetPassword have this attribute.

See Also

Password Attribute Keys

kSecAttrService

A key whose value is a string indicating the item's service.

kSecAttrGeneric

A key whose value indicates the item's user-defined attributes.

kSecAttrSecurityDomain

A key whose value is a string indicating the item's security domain.

kSecAttrServer

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

kSecAttrProtocol

A key whose value indicates the item's protocol.

kSecAttrAuthenticationType

A key whose value indicates the item's authentication scheme.

kSecAttrPort

A key whose value indicates the item's port.

kSecAttrPath

A key whose value is a string indicating the item's path attribute.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software