There are 2 repositories under macos-keychain topic.
Small tool for adding exported credentials from Chrome to macOS keychain
Store some parts of a repo file in the macOS Keychain; keep the rest un-encrypted
Keychain access using golang
Install Summon by CyberArk.