released with secret.value.Value.unref, or null if no secret found
Service.lookupSync
secret.value.Value lookupSync(secret.schema.Schema schema, string[string] attributes, gio.cancellable.Cancellable cancellable = null)Lookup a secret value in the secret service.
The attributes should be a set of key and value string pairs.
If service is null, then secret.service.Service.getSync will be called to get the default secret.service.Service proxy.
This method may block indefinitely and should not be used in user interface threads.
Parameters
schema | the schema for the attributes |
attributes | the attribute keys and values |
cancellable | optional cancellation object |
Returns
a newly allocated secret.value.Value, which should be