Most Serverless projects I have seen hit the same wall at some point. A Lambda function needs to talk to something outside AWS: a SaaS ticketing tool, a partner API, a service running in Azure. That means an OAuth token or an API key. Soon there is a client secret in an environment variable, a token cache in a DynamoDB table and a slightly different refresh routine in every other function. Nobody likes writing that glue code, and even fewer people like maintaining it.
AWS IAM Credential Broker, in public preview since November 29, 2026, is aimed squarely at this problem. I tried it with a TypeScript Lambda function and the Serverless Framework and wrote up the full walkthrough here: IAM Credential Broker: OAuth for Lambda without secrets . Below is the short version.
The idea in one sentence
Your workload asks the broker for a token using its normal IAM role, and the broker takes care of obtaining, caching and refreshing it.…