Service.getSecretsForDbusPathsSync

Get the secret values for a secret item stored in the service.

The items are represented by their D-Bus object paths. If you already have #SecretItem proxy objects, use use secret_item_load_secrets_sync() to more simply get their secret values.

This method may block indefinitely and should not be used in user interface threads.

Items that are locked will not be included the results.

class Service
HashTable
getSecretsForDbusPathsSync
(
string[] itemPaths
,
Cancellable cancellable
)

Parameters

itemPaths string[]

the D-Bus paths to items to retrieve secrets for

cancellable Cancellable

optional cancellation object

Return Value

Type: HashTable

a newly allocated hash table of item_path keys to #SecretValue values.

Throws

GException on failure.

Meta