@InterfaceAudience.Private @InterfaceStability.Unstable @Deprecated public class S3Credentials extends Object
Extracts AWS credentials from the filesystem URI or configuration.
| Constructor and Description |
|---|
S3Credentials()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey()
Deprecated.
|
String |
getSecretAccessKey()
Deprecated.
|
void |
initialize(URI uri,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
public void initialize(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
uri - bucket URI optionally containing username and password.conf - configurationIllegalArgumentException - if credentials for S3 cannot be
determined.IOException - if credential providers are misconfigured and we have
to talk to them.public String getAccessKey()
public String getSecretAccessKey()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.