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?