mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> Co-authored-by: Jurgen Braam <g.j.m.braam@gmail.com>
This commit is contained in:
parent
e0f73c96f7
commit
7551c4dc7f
@ -143,3 +143,12 @@ NOTE: If your node has `xpack.security.http.ssl.enabled` set to `true`, then you
|
||||
curl -H "Authorization: ApiKey VnVhQ2ZHY0JDZGJrUW0tZTVhT3g6dWkybHAyYXhUTm1zeWFrdzl0dk5udw==" http://localhost:9200/_cluster/health
|
||||
--------------------------------------------------
|
||||
// NOTCONSOLE
|
||||
|
||||
One way to create the _credentails_ from CLI on an Unix-like system is as the follows:
|
||||
|
||||
[source,shell]
|
||||
----
|
||||
# Please note the use of "-n" to instruct echo to not print the trailing newline character.
|
||||
# It should return VnVhQ2ZHY0JDZGJrUW0tZTVhT3g6dWkybHAyYXhUTm1zeWFrdzl0dk5udw==
|
||||
echo -n "VuaCfGcBCdbkQm-e5aOx:ui2lp2axTNmsyakw9tvNnw" | base64
|
||||
----
|
||||
|
Loading…
x
Reference in New Issue
Block a user