public class S3Credentials extends Object
Extracts AWS credentials from the filesystem URI or configuration.
构造器和说明 |
---|
S3Credentials() |
限定符和类型 | 方法和说明 |
---|---|
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 © 2009 The Apache Software Foundation