sepinf-inc / IPED

IPED Digital Forensic Tool. It is an open source software that can be used to process and analyze digital evidence, often seized at crime scenes by law enforcement or in a corporate investigation by private examiners.
Other
884 stars 209 forks source link

opensearch environment variables #2194

Closed Scarehcrow closed 2 months ago

Scarehcrow commented 2 months ago

I saw inhere: https://github.com/sepinf-inc/IPED/issues/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 https://github.com/sepinf-inc/IPED/discussions/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

lfcnassif commented 2 months ago

@hauck-jvsh could you help him?

lfcnassif commented 2 months ago

I'm converting this to discussion.