| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Keychain.UpdateGenericPassword
Update a generic password entry with a new password.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Keychain | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "Keychain.UpdateGenericPassword"; Service; Account; Password ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Service | The service name. | |
| Account | The account name. | "john" |
| Password | The password to use. | "secret" |
Result
Returns OK or error.
Description
Update a generic password entry with a new password.Examples
Update a password:
MBS( "Keychain.UpdateGenericPassword"; "test"; "john"; "new secret" )
See also
- Keychain.AddGenericPassword
- Keychain.DeleteGenericPassword
- Keychain.FindGenericPassword
- Keychain.ListGenericPasswords
Release notes
- Version 16.3
- Added Keychain.AddGenericPassword, Keychain.DeleteGenericPassword, Keychain.FindGenericPassword, Keychain.ListGenericPasswords and Keychain.UpdateGenericPassword functions.
This function checks for a license.
Created 8th May 2026, last changed 8th May 2026