MFA on command line (for AWS cli etc)

Wondering if there's any way to access an MFA token for (for example) AWS that is saved in/generated by my iCloud keychain from the command line, perhaps by typing my keychain password or even using the fingerprint reader. Having to go to the System Preferences and auth there in order to see an MFA token so that I can use it on the command line is a pain in the butt, especially when I need to do it several times a day.

MFA on command line (for AWS cli etc)
 
 
Q