This guide describes how to access your data through the AWS CLI. Below, you will find the steps you can follow to access your data using the AWS Command Line Interfacearrow-up-right
Step 1: Install the Amazon AWS CLI using the instructions on this page: https://aws.amazon.com/cli/arrow-up-right
Step 2: Once installed, you need to initialize your AWS configuration by typing the following command:
This command will ask you for your AWS Access Key ID, AWS Secret Access Key, and AWS Region which you can all retrieve from Your credentials .
The Default output format option you can leave empty.
Step 3: Now you can retrieve a list of all files in your S3 bucket using the CLI.
To list all files, for example, use the following command:
Copy aws s3 ls s3://your-bucket-name Or use the following command to download a file to your local hard drive home directory:
Copy aws s3 cp s3://your-bucket-name/filename.csv ~/filename.csv Last updated 10 months ago