the schema for attributes
the attribute keys and values
a collection alias, or D-Bus object path of the collection where to store the secret
label for the secret
the null-terminated password to store
Optionalcancellable: Gio.Cancellableoptional cancellation object
whether the storage was successful or not
Store a password in the secret service.
The
attributesshould be a set of key and value string pairs.If the attributes match a secret item already stored in the collection, then the item will be updated with these new values.
If
collectionisnull, then the default collection will be used. Use COLLECTION_SESSION to store the password in the session collection, which doesn't get stored across login sessions.This method may block indefinitely and should not be used in user interface threads.