mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 21:27:20 -04:00
Fixes #8657 Part 1: API and JavaKeyStore implementation (#8657) Introduces the API to read/write/delete sensitive data from a secure store and includes a Java KeyStore implementation. Note - this commit does NOT integrate with the Logstash configuration or settings. Part 2: Secret Store: SecretStoreFactory, SecureConfig, Obfuscation and X-JVM support (#8659) * Secret Store: SecretStoreFactory, SecureConfig, Obfuscation and X-JVM support * Introduce a SecretStoreFactory to allow runtime definition of SecretStore implementation. * Introduce a SecureConfig to allow simple configuration of different SecretStore implementaiton. * Introduce random default password plus obfuscation. Best attempt at security through obscurity. * Corrections / better support for x-JVM modification. Part 3: Secret Store: SecretStore, SecretStoreFactory, JavaKeystore - refacactor (#8745) * Adds more CRUD like operations for SecretStore API * SecretStoreFactory Mirror API's CRUD operations * Adds 'exists' to API to allow command line warning 'Overwrite ?' * Minor readabiliy Part 4: Integrate secret store with Logstash core (#8905) This change introduces the command line tooling and hooks needed to allow Logstash to use the secret store. This change hooks into the same logic that the does the environment variable substitution. The commnad line mirrors the Elasticsearch command line, and is implemented primarily in Java. Part 5: Hardening and test fixes (this PR) Fixes #8935
17 lines
257 B
Batchfile
17 lines
257 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
call "%~dp0setup.bat" || exit /b 1
|
|
if errorlevel 1 (
|
|
if not defined nopauseonerror (
|
|
pause
|
|
)
|
|
exit /B %ERRORLEVEL%
|
|
)
|
|
|
|
%JRUBY_BIN% "%LS_HOME%\lib\secretstore\cli.rb" %*
|
|
if errorlevel 1 (
|
|
exit /B 1
|
|
)
|
|
|
|
endlocal
|