[
https://issues.apache.org/jira/browse/HADOOP-15158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376518#comment-16376518
]
wujinhu commented on HADOOP-15158:
----------------------------------
Thanks [[email protected]] for the review. I have looked at the code in
HADOOP-15141 and improved my tests. I add a simple implementation in
*TestAliyunCredentials.* We will add tests & docs just as HADOOP-15141 did when
we bring in actual implementations.
> AliyunOSS: Supports role based credential in URL
> ------------------------------------------------
>
> 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
> Priority: Major
> Fix For: 3.1.0, 2.9.1, 3.0.1
>
> Attachments: HADOOP-15158.001.patch, HADOOP-15158.002.patch,
> HADOOP-15158.003.patch, HADOOP-15158.004.patch, HADOOP-15158.005.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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]