| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Keychain.ListGenericPasswords
Queries metadata for all generic passwords.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Keychain | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "Keychain.ListGenericPasswords" { ; Service } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Service | The service name. | Optional |
Result
Returns JSON or error.
Description
Queries metadata for all generic passwords.Optionally filter for a given service name.
Examples
Find all accounts for our test service:
MBS( "Keychain.ListGenericPasswords"; "test")
See also
- Keychain.AddGenericPassword
- Keychain.DeleteGenericPassword
- Keychain.FindGenericPassword
- Keychain.UpdateGenericPassword
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