AWS CLI
Before You Start #
- You must have the AWS CLI installed
Configuration Steps #
- Install the AWS CLI as described in the AWS documentation.
- Verify that the AWS CLI is installed:
aws --version
- 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
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>