hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Mackrory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12537) s3a: Add flag for session ID to allow Amazon STS temporary credentials
Date Tue, 03 Nov 2015 22:38:27 GMT

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

Sean Mackrory updated HADOOP-12537:
    Attachment: HADOOP-12537.diff

Attaching a patch with tests that I've run against all S3 and STS endpoints, including combinations
in different regions. I also tested this from the CLI and verified other authentication methods
still work. TestAutomaticProxyPortSelection fails, but it was failing prior to my patch and
all other tests in hadoop-aws pass. I moved the test into its own class, am doing clean up
with @After, and skip the test if test.sts.enabled isn't set. 

The STS jar is not required during the build - only when running tests. The feature assumes
the user is going to get the temporary credentials somewhere else. The test has to them itself.

> s3a: Add flag for session ID to allow Amazon STS temporary credentials
> ----------------------------------------------------------------------
>                 Key: HADOOP-12537
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12537
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs/s3
>    Affects Versions: 2.7.1
>            Reporter: Sean Mackrory
>            Priority: Minor
>         Attachments: HADOOP-12537.diff, HADOOP-12537.diff
> Amazon STS allows you to issue temporary access key id / secret key pairs for your a
user / role. However, using these credentials also requires specifying a session ID. There
is currently no such configuration property or the required code to pass it through to the
API (at least not that I can find) in any of the S3 connectors.

This message was sent by Atlassian JIRA

View raw message