opensearch environment variables #2195
Scarehcrow
started this conversation in
General
Replies: 3 comments 3 replies
-
@hauck-jvsh could you help him? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I'm converting this to discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, usually I pass the credentials as a command line parameter like this -Xelastic="indexName:nameoftheindex;user:username;password:password". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw inhere: #1671
that there is support in the environment variables for opensearch user/password combination.
But it's for me unclear what I should use as name.
This topic #2161 speaks about minio, which should be the same way of working:
You need to specify credentials using this syntax as env var:
_set MinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy
Or as a java sys prop:
iped.exe -DMinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy -d input -o output
Or as an IPED extra property:
iped.exe -XMinioCredentials=accesskey:xxxxxx;secretkey:yyyyyyyyyy -d input -o output_
But what's the exact way of doing it for opensearch/elasticsearch? Might be better off adding it to either the conf file or the documentation somewhere.
Thanks in advance for any info you can provide
Beta Was this translation helpful? Give feedback.
All reactions