Secret.Item.load_secrets

function load_secrets(items: Array(Secret.Item), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_item_load_secrets()
}
  

Load the secret values for an secret items stored in the service.

The items must all have the same SecretItem::service property.

This function returns immediately and completes asynchronously.

items

the items to retrieve secrets for

cancellable

optional cancellation object

callback

called when the operation completes