Hi Team, is there any way to mask the critical inf...
# troubleshooting
v
Hi Team, is there any way to mask the critical info like ssl keystore password etc in table config? can we store all the info in a file or implement something similar ?
k
You can use environment variables https://docs.pinot.apache.org/configuration-reference/table E.g { ... "ingestionConfig": { "batchIngestionConfig": { "segmentIngestionType": "APPEND", "segmentIngestionFrequency": "DAILY", "batchConfigMaps": [ { "inputDirURI": "s3://<my-bucket>/baseballStats/rawdata", "includeFileNamePattern": "glob:*/.csv", "excludeFileNamePattern": "glob:*/.tmp", "inputFormat": "csv", "outputDirURI": "s3://<my-bucket>/baseballStats/segments", "input.fs.className": "org.apache.pinot.plugin.filesystem.S3PinotFS", "input.fs.prop.region": "us-west-2", "input.fs.prop.accessKey": "${AWS_ACCESS_KEY}", "input.fs.prop.secretKey": "${AWS_SECRET_KEY}", "push.mode": "tar" } ], "segmentNameSpec": {}, "pushSpec": {} } }, ... }
v
Thanks @Kishore G, one followup question i have setup env variable and i see when i have created a table (used env variable) but later when i check controller UI -> table configs, it shows the password. is this expected?