-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Sigv4 Section to JavaScript Client #1796
Added Sigv4 Section to JavaScript Client #1796
Conversation
Signed-off-by: Theo Truong <[email protected]>
@@ -141,6 +141,68 @@ async function search() { | |||
search().catch(console.log); | |||
``` | |||
|
|||
## Authenticate with Amazon OpenSearch Service - AWS Sigv4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a simple sentence to separate the headings? Suggest:
Use the following code to authenticate with Amazon OpenSearch Service.
## Authenticate with Amazon OpenSearch Service - AWS Sigv4 | ||
|
||
### Using AWS V2 SDK | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Suggest:
Use the following code to authenticate with AWS V2 SDK.
_clients/javascript/index.md
Outdated
}); | ||
``` | ||
|
||
### Using AWS V3 SDK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Suggest:
Use the following code to authenticate with AWS V3 SDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a couple of small comments. Thank you!
Signed-off-by: Theo Truong <[email protected]>
* Added Sigv4 Section to JavaScript Client Signed-off-by: Theo Truong <[email protected]> * Adjusted according to style code/headers guide Signed-off-by: Theo Truong <[email protected]> Signed-off-by: Theo Truong <[email protected]> (cherry picked from commit bdbf110)
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.3 2.3
# Navigate to the new working tree
cd .worktrees/backport-2.3
# Create a new branch
git switch --create backport/backport-1796-to-2.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bdbf11074054e124a4af3ff2246db4c8336bb3ae
# Push it to GitHub
git push --set-upstream origin backport/backport-1796-to-2.3
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.3 Then, create a pull request where the |
* Added Sigv4 Section to JavaScript Client Signed-off-by: Theo Truong <[email protected]> * Adjusted according to style code/headers guide Signed-off-by: Theo Truong <[email protected]> Signed-off-by: Theo Truong <[email protected]> (cherry picked from commit bdbf110) Co-authored-by: Theo Nam Truong <[email protected]>
Signed-off-by: Theo Truong [email protected]
For more information on following Developer Certificate of Origin and signing off your commits, please check here.