You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "wujinhu (JIRA)" <ji...@apache.org> on 2018/01/05 07:36:00 UTC
[jira] [Commented] (HADOOP-15158) AliyunOSS:
AliyunCredentialsProvider supports role based credential
[ https://issues.apache.org/jira/browse/HADOOP-15158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312621#comment-16312621 ]
wujinhu commented on HADOOP-15158:
----------------------------------
Attach patch.
However, should we add an implementation for this?
> AliyunOSS: AliyunCredentialsProvider supports role based credential
> --------------------------------------------------------------------
>
> Key: HADOOP-15158
> URL: https://issues.apache.org/jira/browse/HADOOP-15158
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/oss
> Affects Versions: 3.0.0
> Reporter: wujinhu
> Assignee: wujinhu
> Fix For: 2.9.1, 3.0.1
>
> Attachments: HADOOP-15158.001.patch
>
>
> Currently, AliyunCredentialsProvider supports credential by configuration(core-site.xml). Sometimes, admin wants to create different temporary credential(key/secret/token) for different roles so that one role cannot read data that belongs to another role.
> So, our code should support pass in the URI when creates an XXXCredentialsProvider so that we can get user info(role) from the URI
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org