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

Marcelo Vanzin closed SPARK-20379.
----------------------------------
    Resolution: Not A Problem

Just remembered that in 2.x (2.1 at least) users can reference env variables 
from the configuration, so they can achieve this without the need for extra 
code in Spark.

> 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.3.15#6346)

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

Reply via email to