Patrik Iselind created ZEPPELIN-4825:
----------------------------------------
Summary: Introduce interpreter configurations with value from the
environment
Key: ZEPPELIN-4825
URL: https://issues.apache.org/jira/browse/ZEPPELIN-4825
Project: Zeppelin
Issue Type: Improvement
Components: zeppelin-interpreter
Affects Versions: 0.9.0
Environment: I'm using Zeppelin 0.9.0 through a docker image.
Reporter: Patrik Iselind
As a user I'd like the possibility to refer to environment variables in the
interpreter configuration. This would allow me to put the interpreter
configuration under version control without including AWS credentials for
example.
In this setup, I'd like to version control my conf/interpreters.json file along
with my Dockerfile and other related files. This I can of course do already.
There's a problem related to this though.
When setting for example the AWS credentials in the interpreter configuration,
then I'm forced to write them out in clear text. I really don't want to version
control the credentials!
I've tried setting AWS_ACCESS_KEY_ID to "${AWS_ACCESS_KEY_ID_VAL}" but that
doesn't work. It will not expand. Setting AWS_ACCESS_KEY_ID to
"${AWS_ACCESS_KEY_ID}", will not work as it will expand recursively.
For this reason I think it would be great if Zeppelin support configurations
that are of the type "expandable string" which would read from the environment
to expand the variable values, possibli. That would allow me to version control
my interpreters.json without having to include my AWS credentials.
Using the "password" type will only hide the password in the UI, it's still
cleartext in the interpreter.json file.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)