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,
Configuration conf) |
public void initialize(URI uri, Configuration conf)
IllegalArgumentException
- if credentials for S3 cannot be
determined.public String getAccessKey()
public String getSecretAccessKey()
Copyright © 2010 The Apache Software Foundation