[ 
https://issues.apache.org/jira/browse/SPARK-20379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcelo Vanzin reopened SPARK-20379:
------------------------------------

I'll re-open this since the SSL options don't really use the code path that can 
reference env variables in config values, so this is still something we should 
add. Fix will be different than my previous PR though.

> Allow setting SSL-related passwords through env variables
> ---------------------------------------------------------
>
>                 Key: SPARK-20379
>                 URL: https://issues.apache.org/jira/browse/SPARK-20379
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.2.0
>            Reporter: Marcelo Vanzin
>
> Currently, Spark reads all SSL options from configuration, which can be 
> provided in a file or through the command line. This means that to set the 
> SSL keystore / trust store / key passwords, you have to use one of those 
> options.
> Using the command line for that is not secure, and in some environments 
> admins prefer to not have the password written in plain text in a file (since 
> the file and the data it's protecting could be stored in the same 
> filesystem). So for these cases it would be nice to be able to provide these 
> passwords through environment variables, which are not written to disk and 
> also not readable by other users on the same machine.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to