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

Larry McCay commented on HADOOP-15687:
--------------------------------------

Thanks, [~ste...@apache.org].

[~lars_francke] - can you be a bit more specific?

There are a number of credentials classes/commands available.

The credential CLI command itself allows you to create, delete and list all 
aliases.

Of course, direct use of the Credential Provider API will allow you to do the 
same as well acquire the secret represented by the alias.

Then there is the Credentials class - org.apache.hadoop.security.Credentials - 
which allows you to get tokens and other credentials for a given job/UGI.

Which do you mean and what is it that you are looking to add?

> Credentials class should allow access to aliases
> ------------------------------------------------
>
>                 Key: HADOOP-15687
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15687
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.1.0
>            Reporter: Lars Francke
>            Priority: Trivial
>
> The credentials class can read token files from disk which are keyed by an 
> alias. It also allows to retrieve tokens by alias and it also allows to list 
> all tokens.
> It does not - however - allow to get the full map of all tokens including the 
> aliases (or at least a list of all aliases).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to