Run Commands

AWS CLI

Learn how to configure AWS CLI for the S3 Gateway

December 4, 2023

Before You Start #

Configuration Steps #

  1. Install the AWS CLI as described in the AWS documentation.

  2. Verify that the AWS CLI is installed:

aws --version
  1. Configure AWS CLI. Use the aws configure command to configure your credentials file:
aws configure --profile <name-your-profile>

# AWS Access Key ID: YOUR-PACHYDERM-AUTH-TOKEN
# AWS Secret Access Key: YOUR-PACHYDERM-AUTH-TOKEN
# Default region name:
# Default output format [None]:
ℹī¸

Note that the --profile flag (named profiles) is optional. If not used, your access information will be stored in the default profile.

To reference a given profile when using the S3 client, append --profile <name-your-profile> at the end of your command.

Verify Setup #

To verify your setup, you can check the list of filesystem objects on the master branch of your repository.

aws --endpoint-url http://<localhost_or_externalIP>:30600/ s3 ls s3://master.<repo>.<project>