[ 
https://issues.apache.org/jira/browse/HIVE-17014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076563#comment-16076563
 ] 

Vlad Gudikov commented on HIVE-17014:
-------------------------------------

Attached document with possible ways to implement this feature. 

As [~lmccay] commented in [HIVE-17014]. - "we may want to consider the use of 
the CredentialProvider API that will be committed soon.
See [HADOOP-10607]. This isn't mutually exclusive with the password file 
approach as there are plans to fallback to existing password files in certain 
components. However, the abstraction of the API is best realized through the 
new Configuration.getPassword(String name) method. This will allow you to ask 
for a configuration item that you know is a password and it will check for an 
aliased credential based on the name through the CredentialProvider API. If the 
name is not resolved into a credential from a provider then it falls back to 
the config file."

Would be happy to discuss this approach with other members.

> Password File Encryption for HiveServer2 Client
> -----------------------------------------------
>
>                 Key: HIVE-17014
>                 URL: https://issues.apache.org/jira/browse/HIVE-17014
>             Project: Hive
>          Issue Type: Improvement
>          Components: Beeline
>            Reporter: Vlad Gudikov
>            Assignee: Vlad Gudikov
>             Fix For: 2.1.2
>
>         Attachments: PasswordFileEncryption.docx.pdf
>
>
> The main point of this file is to encrypt password file that is used for 
> beeline connection using -w key. Any ideas or proposals would be great.



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

Reply via email to