@InterfaceAudience.Private @InterfaceStability.Unstable public class S3Credentials extends Object
Extracts AWS credentials from the filesystem URI or configuration.
| Constructor and Description |
|---|
S3Credentials() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey() |
String |
getSecretAccessKey() |
void |
initialize(URI uri,
org.apache.hadoop.conf.Configuration conf) |
public void initialize(URI uri, org.apache.hadoop.conf.Configuration conf)
IllegalArgumentException - if credentials for S3 cannot be
determined.public String getAccessKey()
public String getSecretAccessKey()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.