Item


Object Hierarchy:

Object hierarchy for Item

Description:

[ CCode ( type_id = "secret_item_get_type ()" ) ]
public class Item : DBusProxy, AsyncInitable, DBusInterface, Initable, Retrievable

A secret item

Item represents a secret item stored in the Secret Service.

Each item has a value, represented by a [struct@Value], which can be retrieved by [method@Item.get_secret] or set by [ method@Item.set_secret]. The item is only available when the item is not locked.

Items can be locked or unlocked using the [method@Service.lock] or [method@Service.unlock] functions. The Secret Service may not be able to unlock individual items, and may unlock an entire collection when a single item is unlocked.

Each item has a set of attributes, which are used to locate the item later. These are not stored or transferred in a secure manner. Each attribute has a string name and a string value. Use [method@Service.search] to search for items based on their attributes, and [ method@Item.set_attributes] to change the attributes associated with an item.

Items can be created with [func@Item.create] or [method@Service.store].


Namespace: Secret
Package: libsecret-1

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable