# Key Management in different OS
How to save a username & password in client app or local machine safely?
Use OS-dependent credential management system or service.
## Windows
[Credential Manager API](https://learn.microsoft.com/en-us/windows/win32/secauthn/credentials-management)
## macOS
[Keychain API](https://developer.apple.com/documentation/security/keychain_services)
## Linux
[Secret Service API](https://www.gnu.org/software/emacs/manual/html_node/auth/Secret-Service-API.html)
## Android
[KeyStore API](https://developer.android.com/training/articles/keystore)
## iOS
Same as [macOS](#macOS)
###### tags: `key` `credential` `os`