It is not supported to inject env into interpreter setting for now, could
you create a ticket for it ?

Patrik Iselind <patrik....@gmail.com> 于2020年5月18日周一 下午6:52写道:

> Hi everyone,
>
> I'm using Zeppelin through a docker image. 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 once. 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.
>
> Do you see some other solution that might work here?
>
> Best Regards,
> Patrik Iselind
>


-- 
Best Regards

Jeff Zhang

Reply via email to