To send my POST request, which are related to AWS ECR, I had to also send authorization token. Curently I’m getting ECR token manually with AWS CLI:
- use “aws ecr get-login” command
- then copy token from command line
- then I select ‘Bearer Token’ authorization type in Postman, and past my token to ‘Token’ field.
It works well, but I wonder how I could automate this workflow.
Is there a way to make Postman to request the token from AWS ECR and put it to my collection?
Thank you in advance.