Function keytar::set_password[][src]

pub fn set_password(
    service: &str,
    account: &str,
    password: &str
) -> Result<(), Exception>
Expand description

Save the password for the service and account to the keychain. Adds a new entry if necessary, or updates an existing entry if one exists.

Equivalent to setPassword