Some of the CLI libraries that can be used to access s3 buckets are described below:
- rclone (works for public and private buckets after configuration)
Run the following command with your 'bucket_name' after configuring a remote
s3
with the endpoint (rclone configure
and follow the interactive configuration for a new remote)rclone ls s3://bucket_name/
It works only for private buckets
Run the following command with your 'bucket_name' after configuring the remote to use (
s3cmd --
configure
and follow the interactive configuration for a new remote)s3cmd ls s3://bucket_name/
Run the following command with your 'bucket_name' after configuring the remote for a private bucket (
and follow the interactive configuration for a new remote):aws configure
aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/
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