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 17690200B23 for ; Sun, 5 Jun 2016 00:53:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1600A160A4E; Sat, 4 Jun 2016 22:53:01 +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 5C051160A26 for ; Sun, 5 Jun 2016 00:53:00 +0200 (CEST) Received: (qmail 90358 invoked by uid 500); 4 Jun 2016 22:52:59 -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 90342 invoked by uid 99); 4 Jun 2016 22:52:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2016 22:52:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4C0F52C1F5A for ; Sat, 4 Jun 2016 22:52:59 +0000 (UTC) Date: Sat, 4 Jun 2016 22:52:59 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12807) S3AFileSystem should read AWS credentials from environment variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 04 Jun 2016 22:53:01 -0000 [ https://issues.apache.org/jira/browse/HADOOP-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-12807: ------------------------------------ Status: Open (was: Patch Available) > S3AFileSystem should read AWS credentials from environment variables > -------------------------------------------------------------------- > > Key: HADOOP-12807 > URL: https://issues.apache.org/jira/browse/HADOOP-12807 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/s3 > Affects Versions: 2.7.2 > Reporter: Tobin Baker > Priority: Minor > Attachments: HADOOP-12807-1.patch > > > Unlike the {{DefaultAWSCredentialsProviderChain}} in the AWS SDK, the {{AWSCredentialsProviderChain}} constructed by {{S3AFileSystem}} does not include an {{EnvironmentVariableCredentialsProvider}} instance. This prevents users from supplying AWS credentials in the environment variables {{AWS_ACCESS_KEY_ID}} and {{AWS_SECRET_ACCESS_KEY}}, which is the only alternative in some scenarios. > In my scenario, I need to access S3 from within a test running in a CI environment that does not support IAM roles but does allow me to supply encrypted environment variables. Thus, the only secure approach I can use is to supply my AWS credentials in environment variables (plaintext configuration files are out of the question). -- 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