Versions Compared

Key

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

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.

Image Added

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

Code Block
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:

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