[ 
https://issues.apache.org/jira/browse/HADOOP-13728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583761#comment-15583761
 ] 

Chris Nauroth commented on HADOOP-13728:
----------------------------------------

|| Alias || Class ||
| anonymous | org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider |
| env | com.amazonaws.auth.EnvironmentVariableCredentialsProvider |
| instance-profile | 
org.apache.hadoop.fs.s3a.SharedInstanceProfileCredentialsProvider |
| simple | org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider |
| temporary | org.apache.hadoop.fs.s3a.TemporaryAWSCredentialsProvider |

Therefore, the typical default provider chain could be expressed as:

{code}
<property>
  <name>fs.s3a.aws.credentials.provider</name>
  <value>simple,env,instance-profile</value>
</property>
{code}

For any configuration value not listed as an alias above, assume it's a full 
class name, and fall back to the current logic.  This also means the change 
would be fully backward-compatible with existing configuration files that 
already use the full class names, or highly customized deployments that used 
their own subclass implementations of {{AWSCredentialsProvider}}.

> S3A can support short user-friendly aliases for configuration of credential 
> providers.
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13728
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13728
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Chris Nauroth
>            Priority: Minor
>
> This issue proposes to support configuration of the S3A credential provider 
> chain using short aliases to refer to the common credential providers in 
> addition to allowing full class names.  Supporting short aliases would 
> provide a simpler operations experience for the most common cases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to