AWS S3 CLI ls command giving unexpected output when listing objects of S3 bucket
Applies to
- All StorageGRID versions
- AWS S3 CLI all versions
- CLI (Command Line Interface)
Issue
aws cli ls --endpoint-url URL_OF_ENDPOINT s3://BUCKET_NAME/FOLDER/OBJECT
command output listing unexpected objects- Objects listed in the
aws cli ls
command displays the queried objects and some extra objects other than the queried object.