S3Credentials (Hadoop 1.2.1 API)
Date: 2013-07-22

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.fs.s3
Class S3Credentials

    java.lang.Object
      org.apache.hadoop.fs.s3.S3Credentials

    public class S3Credentials

extends Object

Extracts AWS credentials from the filesystem URI or configuration.

Constructor Summary
`S3Credentials()`

Method Summary
`String` | `getAccessKey()`
`String` | `getSecretAccessKey()`
`void` | `initialize(URI uri, Configuration conf)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### S3Credentials

    public S3Credentials()

Method Detail

### initialize

    public void initialize(URI uri,
                           Configuration conf)

  Throws:
    `IllegalArgumentException` - if credentials for S3 cannot be determined.

### getAccessKey

    public String getAccessKey()

### getSecretAccessKey

    public String getSecretAccessKey()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation