Skip to content

Commit 0c49500

Browse files
Update docs/reference/elasticsearch/command-line-tools/elasticsearch-keystore.md
Co-authored-by: Liam Thompson <[email protected]>
1 parent 1caaa9f commit 0c49500

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/reference/elasticsearch/command-line-tools/elasticsearch-keystore.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,16 @@ echo -n 'your\!password' | bin/elasticsearch-keystore add the.setting.name.to.se
158158

159159
Values for multiple settings must be separated by carriage returns or newlines.
160160

161-
### Common Issues with Special Characters [special-chracter-issues]
162-
Exclamation Mark (`\!`): When using the shell, the combination `\!` is stored as just `!`. This can lead to authentication failures if the password is not stored as intended.
161+
## Handling special characters
163162

164-
Quotes: If quotes are used around the password, they are stored as part of the password. This can cause the password to be incorrect when retrieved from the keystore.
163+
Exclamation mark: `!`
164+
: When using the shell, the combination `\!` is stored as just `!`. This can lead to authentication failures if the password is not stored as intended.
165165

166-
Backslash (`\`): The backslash character needs to be escaped properly. If not escaped, it may be omitted or misinterpreted, leading to incorrect password storage.
166+
Quotes: `"`
167+
: If quotes are used around the password, they become part of the password itself. This can cause the password to be incorrect when retrieved from the keystore.
168+
169+
Backslash: `\`
170+
: The backslash character needs to be properly escaped. If not escaped correctly, it may be omitted or misinterpreted, leading to incorrect password storage.
167171

168172
### Add files to the keystore [add-file-to-keystore]
169173

0 commit comments

Comments
 (0)