This Tech 101 article explains the password saving functions of Keychain in macOS Sierra as well as how to access and edit Keychain files.
Apple's iCloud Keychain: The smart person's guide
Everything You Want to Know About Keychain First Aid
Apple MacOS High Sierra flaw lets you log in without a password - CNET
How to Utilize the Most Useful Mac OS Utilities
How to View All the Info Stored in a Keychain Access Item on Your Mac
Researcher Demos macOS Mojave Keychain Exploit To Access Passwords, Will Not Share Findings With Apple
Whoops, a hacker found a way to steal your passwords from macOS High Sierra
Keychain Access: You Can Store More Than Passwords
Tech Tips
Macintosh Keychain Technology Services