awscli

Access private bucket

1. Run aws configure  and follow the interactive configuration for a new remote to setup the access_key and the secret_key to be used by the CLI.

2. Run the following command with your 'bucket_name' for a private bucket:

aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/

Access public bucket

Run the following command with your 'bucket_name' for a public bucket:

aws s3 ls --endpoint-url  s3_endpoint_url s3://bucket_name/ --no-sign-request