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:


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

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