Published inAWS TipUsing Amazon Cognito with the user-password flowIn May I released a post on how to secure APIs using machine-to-machine authentication. Exactly one day after that AWS Cognito changed…Aug 1Aug 1
Published inAWS TipCreating users in Amazon Cognito programmaticallyWhen you have CI/CD pipelines that run automated tests against your APIs you might need to dynamically create users in Amazon Cognito to…Jul 12Jul 12
Published inAWS TipSecure API Gateway with Amazon Cognito using SAMGetting basic authentication for your API is not as hard as it sounds. In this post we’ll be going through the steps to secure your APIs…May 9May 9
Published inAWS TipUsing YAML anchors and aliases in a SAM templateLast month I wrote a post about getting rid of Lambda Layers by using ESBuild. What I quickly learned is that the Metadata attribute has to…Apr 1Apr 1
Published inAWS TipDrop the layers, bundle up with ESBuild insteadI’ve seen a lot of posts around the problems that Lambda Layers bring. A very good one is called You shouldn’t use Lambda Layers by AJ…Feb 72Feb 72
Call APIs from Step Functions using SAMLearn what’s needed to trigger the HTTP endpoint task state from a Step Function to be able to eliminate the Lambda Functions you have to…Jan 24Jan 24
Published inAWS TipHow to update Lambda Functions from Common JS to ECMAScriptVersion 5.0.0 of the @middy/core package no longer supports Common JS in favor of ECMAScript Modules (ESM). ESM improves performance by 2X…Dec 12, 2023Dec 12, 2023
Published inAWS TipSpeed up new serverless application development with SAM customized templatesLearn how you can use custom templates with SAM to speed up initial application setup.Jul 4, 2023Jul 4, 2023
Published inAWS TipHow to Run the JavaScript AWS SDK LocallyLearn how to setup locally to run the AWS SDK using SSO and named profilesJan 31, 2023Jan 31, 2023
Add Authentication to Portman API testsTesting secure APIs through automation can be a pain. Thankfully Portman provides an easy way to include authentication in your test…Mar 24, 2022Mar 24, 2022