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)
s3cmd
It works only for private bucketsWarning Run the following command with your 'bucket_name' after configuring the remote to use (
s3cmd --
a remotes3
with the endpoint (rclone configure
and follow the interactive configuration for a new remote)
rclone (works for public and private buckets after configuration)Code Block s3cmdrclone ls s3://bucket_name/
Warning It works only for private buckets
Run the following command with your 'bucket_name' after configuring a remote
s3
with the endpoint (rclone the remote to use (s3cmd --
configure
and follow the interactive configuration for a new remote)Code Block rclones3cmd 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
Code Block aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/
Run the following command with your 'bucket_name' for a public bucket:
Code Block aws s3 ls --endpoint-url s3_endpoint_url s3://bucket_name/ --no-sign-request