Skip to content

Commit

Permalink
Removes support for txt files
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
  • Loading branch information
DarshitChanpura committed Dec 14, 2023
1 parent 26e5d37 commit 8ac7110
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,11 @@ extension_hw_greet:
### Setting up password for demo admin user
This step is a pre-requisite to installing demo configuration. There are two ways the demo `admin` user password can be set:
1. **Setting via environment variable:** The default password can be passed by exporting `OPENSEARCH_INITIAL_ADMIN_PASSWORD` variable with a password.
This step is a pre-requisite to installing demo configuration. You can pass the demo `admin` user password by exporting `OPENSEARCH_INITIAL_ADMIN_PASSWORD` variable with a password.
```shell
export OPENSEARCH_INITIAL_ADMIN_PASSWORD=<password>
```

2. **Setting via a text file:** The password can also be supplied by creating a single line text file `opensearch_initial_admin_password.txt` file with `<password>` under `$OPENSEARCH_HOME/config/` folder.

**_Note:_** If no password is supplied, the installation will fail. The password supplied will also be tested for its strength and will be blocked if it is too simple. There is an option to skip this password validation by passing the `-t` option to the installation script. However, this should only be used for test environments.


Expand Down

0 comments on commit 8ac7110

Please sign in to comment.