github.com/pachyderm/pachyderm@v1.13.4/doc/docs/1.10.x/deploy-manage/manage/s3gateway/configure-s3client.md (about)

     1  # Configure the S3 client
     2  
     3  Before you can work with the S3 gateway, you need to configure your S3 client
     4  to access Pachyderm. Complete the steps in one of the sections below that
     5  correspond to your S3 client.
     6  
     7  ## Configure MinIO
     8  
     9  If you are not using the MinIO client, skip this section.
    10  
    11  To install and configure MinIO, complete the following steps:
    12  
    13  1. Install the MinIO client on your platform as
    14  described on the [MinIO download page](https://min.io/download#/macos).
    15  
    16  1. Verify that MinIO components are successfully installed by running
    17  the following command:
    18  
    19     ```shell
    20     minio version
    21     mc version
    22     ```
    23  
    24     **System Response:**
    25  
    26     ```
    27     Version: 2019-07-11T19:31:28Z
    28     Release-tag: RELEASE.2019-07-11T19-31-28Z
    29     Commit-id: 31e5ac02bdbdbaf20a87683925041f406307cfb9
    30     ```
    31  
    32  1. Set up the MinIO configuration file to use the `30600` port for your host:
    33  
    34     ```shell
    35     vi ~/.mc/config.json
    36     ```
    37  
    38     You should see a configuration similar to the following:
    39  
    40     * For a minikube deployment, verify the
    41     `local` configuration:
    42  
    43       ```
    44       "local": {
    45                 "url": "http://localhost:30600",
    46                 "accessKey": "YOUR-PACHYDERM-AUTH-TOKEN",
    47                 "secretKey": "YOUR-PACHYDERM-AUTH-TOKEN",
    48                 "api": "S3v4",
    49                 "lookup": "auto"
    50              },
    51       ```
    52  
    53       Set the access key and secret key to your
    54       Pachyderm authentication token. If authentication is not enabled
    55       on the cluster, you can put any values.
    56  
    57  ## Configure the AWS CLI
    58  
    59  If you are not using the AWS CLI, skip this section.
    60  
    61  If you have not done so already, you need to install and
    62  configure the AWS CLI client on your machine. To configure the AWS CLI,
    63  complete the following steps:
    64  
    65  1. Install the AWS CLI for your operating system as described
    66  in the [AWS documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
    67  
    68  1. Verify that the AWS CLI is installed:
    69  
    70     ```shell
    71     aws --version
    72     ```
    73  
    74  1. Configure AWS CLI:
    75  
    76     ```shell
    77     aws configure
    78     ```
    79  
    80     **System Response:**
    81  
    82     ```
    83     AWS Access Key ID: YOUR-PACHYDERM-AUTH-TOKEN
    84     AWS Secret Access Key: YOUR-PACHYDERM-AUTH-TOKEN
    85     Default region name:
    86     Default output format [None]:
    87     ```
    88  
    89     Both the access key and secret key should be set to your
    90     Pachyderm authentication token. If authentication is not enabled
    91     on the cluster, you can pass any value.