Secret.Item.prototype.set_secret_sync
function set_secret_sync(value: Secret.Value, cancellable: Gio.Cancellable): Boolean { // Gjs wrapper for secret_item_set_secret_sync() }
Set the secret value of this item.
Each item has a single secret which might be a password or some other secret binary value.
This function may block indefinetely. Use the asynchronous version in user interface threads.
- value
a new secret value
- cancellable
optional cancellation object
- Returns
whether the change was successful or not