Update example in SigV4 documentation for OpenSearch Benchmark (#5189)

* Update example in SigV4 documentation for OpenSearch Benchmark

Signed-off-by: Ian Hoang <hoangia@amazon.com>

* Update _benchmark/tutorials/sigv4.md

Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Ian Hoang <51065478+IanHoang@users.noreply.github.com>

---------

Signed-off-by: Ian Hoang <hoangia@amazon.com>
Signed-off-by: Ian Hoang <51065478+IanHoang@users.noreply.github.com>
Co-authored-by: Ian Hoang <hoangia@amazon.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
Ian Hoang 2023-10-12 13:54:51 -05:00 committed by GitHub
parent 03d177aa2b
commit 45ada3835a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -17,10 +17,13 @@ OpenSearch Benchmark supports AWS Signature Version 4 authentication. To run Ben
OSB_AWS_ACCESS_KEY_ID=<IAM USER AWS ACCESS KEY ID>
OSB_AWS_SECRET_ACCESS_KEY=<IAM USER AWS SECRET ACCESS KEY>
OSB_REGION=<YOUR REGION>
OSB_SERVICE=aos
OSB_SERVICE=es
```
{% include copy.html %}
If you're testing against Amazon OpenSearch Serverless, set `OSB_SERVICE` to `aoss`.
{: .note}
3. Customize and run the following `execute-test` command with the ` --client-options=amazon_aws_log_in:environment` flag. This flag tells OpenSearch Benchmark the location of your exported credentials.
```bash