Skip to content

Commit

Permalink
Change according to PR suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Dec 28, 2023
1 parent d221bc7 commit 47b573e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
var host = 'localhost';
var protocol = 'https';
var port = 9200;
var auth = `admin:<admin password>`; // For testing only. Don't store credentials in code.
var auth = `admin:myStrongPassword123!`; // For testing only. Don't store credentials in code.
var ca_certs_path = '/full/path/to/root-ca.pem';

// Optional client certificates if you don't want to use HTTP basic authentication.
Expand Down
2 changes: 1 addition & 1 deletion guides/advanced_index_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Let's create a client instance, and an index named `movies`:
```javascript
const { Client } = require('@opensearch-project/opensearch');
const client = new Client({
node: `https://admin:<admin password>@localhost:9200`,
node: `https://admin:myStrongPassword123!@localhost:9200`,
ssl: { rejectUnauthorized: false }
});
client.indices.create({index: 'movies'})
Expand Down
2 changes: 1 addition & 1 deletion guides/index_lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Let's create a client instance to access this cluster:
const { Client } = require('@opensearch-project/opensearch');

const client = new Client({
node: `https://admin:<admin password>@localhost:9200`,
node: `https://admin:myStrongPassword123!@localhost:9200`,
ssl: { rejectUnauthorized: false }
});

Expand Down
2 changes: 1 addition & 1 deletion guides/msearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OpenSearch's Multi-Search (`msearch`) API allows you to execute multiple search
const host = "localhost";
const protocol = "https";
const port = 9200;
const auth = `admin:<admin password>`;
const auth = `admin:myStrongPassword123!`;
const ca_certs_path = "/full/path/to/root-ca.pem";
const { Client } = require("@opensearch-project/opensearch");
const fs = require("fs");
Expand Down
2 changes: 1 addition & 1 deletion guides/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Let's start by creating an index and adding some documents to it:
var host = "localhost";
var protocol = "https";
var port = 9200;
var auth = `admin:<admin password>`; // For testing only. Don't store credentials in code.
var auth = `admin:myStrongPassword123!`; // For testing only. Don't store credentials in code.
var ca_certs_path = "/full/path/to/root-ca.pem";

// Optional client certificates if you don't want to use HTTP basic authentication.
Expand Down

0 comments on commit 47b573e

Please sign in to comment.