Before You Start #
- You must configure an S3 Client (Boto3, AWS, MinIO)
- You must have authentication enabled.
How to Set Your Credentials #
Auth:
- Run the following command:
more ~/.pachyderm/config.json
- Search for your session token:
"session_token": "your-session-token-value"
. - Make sure to fill both fields
Access Key ID
andSecret Access Key
with that same value.
AWS_ACCESS_KEY_ID="somevalue" AWS_SECRET_ACCESS_KEY="somevalue" aws --endpoint-url http://pach-address s3 ls s3://branch.repo.project
You must set AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
to any matching, non-empty string.
For example, you could set both values to "x"
.
AWS_ACCESS_KEY_ID=x AWS_SECRET_ACCESS_KEY=x aws --endpoint-url http://pach-address s3 ls s3://branch.repo.project
Robot Users #
Depending on your use case, it might make sense to pass the credentials of a robot-user or another type of user altogether. Refer to the RBAC for more information.