Skip to content

Commit

Permalink
Update snapshot-restore.md (#8734) (#8739)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Nov 13, 2024
1 parent 404c5a2 commit c897a3c
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,20 @@ You will most likely not need to specify any parameters except for `location`. F
sudo ./bin/opensearch-keystore add s3.client.default.secret_key
```

1. (Optional) If you're using a custom S3 endpoint (for example, MinIO), disable the Amazon EC2 metadata connection:

```bash
export AWS_EC2_METADATA_DISABLED=true
```

If you're installing OpenSearch using Helm, update the following settings in your values file:

```yml
extraEnvs:
- name: AWS_EC2_METADATA_DISABLED
value: "true"
```
1. (Optional) If you're using temporary credentials, add your session token:
```bash
Expand Down

0 comments on commit c897a3c

Please sign in to comment.