Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BE3F3200B14 for ; Sat, 18 Jun 2016 08:42:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BCD21160A26; Sat, 18 Jun 2016 06:42:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 10026160A63 for ; Sat, 18 Jun 2016 08:42:06 +0200 (CEST) Received: (qmail 22034 invoked by uid 500); 18 Jun 2016 06:42:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 21942 invoked by uid 99); 18 Jun 2016 06:42:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2016 06:42:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 604C22C1F6B for ; Sat, 18 Jun 2016 06:42:05 +0000 (UTC) Date: Sat, 18 Jun 2016 06:42:05 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12723) S3A: Add ability to plug in any AWSCredentialsProvider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 18 Jun 2016 06:42:07 -0000 [ https://issues.apache.org/jira/browse/HADOOP-12723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-12723: ----------------------------------- Release Note: Users can integrate a custom credential provider with S3A. See documentation of configuration property fs.s3a.aws.credentials.provider for further details. > S3A: Add ability to plug in any AWSCredentialsProvider > ------------------------------------------------------ > > Key: HADOOP-12723 > URL: https://issues.apache.org/jira/browse/HADOOP-12723 > Project: Hadoop Common > Issue Type: New Feature > Components: fs/s3 > Affects Versions: 2.7.1 > Reporter: Steven Wong > Assignee: Steven Wong > Fix For: 2.8.0 > > Attachments: HADOOP-12723-branch-2-006.patch, HADOOP-12723.0.patch, HADOOP-12723.1.patch, HADOOP-12723.2.patch, HADOOP-12723.3.patch, HADOOP-12723.4.patch, HADOOP-12723.5.patch > > > Although S3A currently has built-in support for {{org.apache.hadoop.fs.s3a.BasicAWSCredentialsProvider}}, {{com.amazonaws.auth.InstanceProfileCredentialsProvider}}, and {{org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider}}, it does not support any other credentials provider that implements the {{com.amazonaws.auth.AWSCredentialsProvider}} interface. Supporting the ability to plug in any {{com.amazonaws.auth.AWSCredentialsProvider}} instance will expand the options for S3 credentials, such as: > * temporary credentials from STS, e.g. via {{com.amazonaws.auth.STSSessionCredentialsProvider}} > * IAM role-based credentials, e.g. via {{com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider}} > * a custom credentials provider that satisfies one's own needs, e.g. bucket-specific credentials, user-specific credentials, etc. > To support this, we can add a configuration for the fully qualified class name of a credentials provider, to be loaded by {{S3AFileSystem.initialize(URI, Configuration)}}. > The configured credentials provider should implement {{com.amazonaws.auth.AWSCredentialsProvider}} and have a constructor that accepts {{(URI uri, Configuration conf)}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org