Skip to content
10 changes: 9 additions & 1 deletion dumpling-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,20 @@ export AWS_ACCESS_KEY_ID=${AccessKey}
export AWS_SECRET_ACCESS_KEY=${SecretKey}
```

Dumpling also supports reading credential files from `~/.aws/credentials`. For more information about URI parameter descriptions, see [URI Formats of External Storage Services](/external-storage-uri.md).
Dumpling also supports reading credentials from `~/.aws/credentials` and authenticating with AWS profiles. For descriptions of URI parameters, see [URI Formats of External Storage Services](/external-storage-uri.md).

To use credentials from the default AWS profile in `~/.aws/credentials`:

Comment thread
qiancai marked this conversation as resolved.
```shell
tiup dumpling -u root -P 4000 -h 127.0.0.1 -r 200000 -o "s3://${Bucket}/${Folder}"
```

To use credentials from a specific AWS profile:

```shell
tiup dumpling -u root -P 4000 -h 127.0.0.1 -r 200000 -o "s3://${Bucket}/${Folder}" --s3.profile=my.profile
Comment thread
qiancai marked this conversation as resolved.
```

### Filter the exported data

#### Use the `--where` option to filter data
Expand Down