A nightly batch reconciler with no human operator must call an internal municipal fees API that expects OAuth tokens. Which approach is appropriate?
Select an answer to reveal the explanation.
Short Explanation
Batch jobs are robots—they need client-credentials or IAM, not a human login page. Do not steal a council member’s password for the cron. Machine-to-machine auth is the right badge for a reconciler.
Full Explanation
Non-interactive workloads should obtain tokens via OAuth 2.0 client credentials (or call AWS APIs with IAM roles) rather than simulating interactive user login. Embedding user passwords, leaving the API open inside the VPC, or relying on SMS one-time codes are unsuitable for unattended municipal batch callers.