Usecase: Get ECR Authorization token --> Work with ECR (using this token) --> Revoke Token. Continue this cycle on-demand.
Reason To avoid leaving tokens (after use) for the default lifetime of 12 hours.
Have looked up AWS doco here and doco for get-authorization-token and available ecr commands but coudln't find a way to revoke.
For instance, Docker Trusted Registry allows you to revoke access tokens anytime as documented here