Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

    WarningIt works only for private buckets

    Run the following command with your 'bucket_name' after configuring the remote to use (s3cmd --a remote s3 with the endpoint (rclone configure and follow the interactive configuration for a new remote)

    Code Block
    s3cmdrclone ls s3://bucket_name/
    rclone (works for public and private buckets after configuration)


  • s3cmd 

    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/


  • awscli

    Run the following command with your 'bucket_name' after configuring the remote for a private bucket (aws configure  and follow the interactive configuration for a new remote):

    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