Items can be locked or unlocked using the secret.service.Service.lock or
secret.service.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 secret.service.Service.search to search for
items based on their attributes, and secret.item.Item.setAttributes to change
the attributes associated with an item.
A secret item
#SecretItem represents a secret item stored in the Secret Service.
Each item has a value, represented by a struct@Value, which can be retrieved by secret.item.Item.getSecret or set by secret.item.Item.setSecret. The item is only available when the item is not locked.
Items can be locked or unlocked using the secret.service.Service.lock or secret.service.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 secret.service.Service.search to search for items based on their attributes, and secret.item.Item.setAttributes to change the attributes associated with an item.
Items can be created with secret.item.Item.create or secret.service.Service.store.