AWS ECR (Elastic Container Registry) Trivy uses AWS SDK. You don't need to install aws CLI tool. You can use AWS CLI's ENV Vars.