Amazon EC2 with MFA/2FA

Has anyone configured Katello/Foreman to use Amazon EC2 as a compute resource, with 2FA? We have 2FA/MFA enabled (I can’t disable it, not an option) on our accounts, and while I can use everything from the console, API requests from Katello always fail. The closest document I’ve seen that may have some insight is ‘https://access.redhat.com/solutions/4963861’ but of course it’s behind a paywall.