| Package | Description |
|---|---|
| org.apache.hadoop.fs.s3a.auth |
Authentication and permissions support.
|
| org.apache.hadoop.fs.s3a.auth.delegation |
Extensible delegation token support for the S3A connector.
|
| Modifier and Type | Method and Description |
|---|---|
static MarshalledCredentials |
MarshalledCredentials.empty()
Return a set of empty credentials.
|
static MarshalledCredentials |
MarshalledCredentialBinding.fromAWSCredentials(com.amazonaws.auth.AWSSessionCredentials credentials)
Create from a set of AWS credentials.
|
static MarshalledCredentials |
MarshalledCredentialBinding.fromEnvironment(Map<String,String> env)
Build a set of credentials from the environment.
|
static MarshalledCredentials |
MarshalledCredentialBinding.fromFileSystem(URI uri,
org.apache.hadoop.conf.Configuration conf)
Loads the credentials from the owning S3A FS, including
from Hadoop credential providers.
|
static MarshalledCredentials |
MarshalledCredentialBinding.fromSTSCredentials(com.amazonaws.services.securitytoken.model.Credentials credentials)
Create a set of marshalled credentials from a set of credentials
issued by an STS call.
|
static MarshalledCredentials |
MarshalledCredentialBinding.requestSessionCredentials(com.amazonaws.auth.AWSCredentialsProvider parentCredentials,
com.amazonaws.ClientConfiguration awsConf,
String stsEndpoint,
String stsRegion,
int duration,
Invoker invoker)
Request a set of credentials from an STS endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.auth.AWSCredentials |
MarshalledCredentialBinding.toAWSCredentials(MarshalledCredentials marshalled,
MarshalledCredentials.CredentialTypeRequired typeRequired,
String component)
Create an AWS credential set from a set of marshalled credentials.
|
| Constructor and Description |
|---|
MarshalledCredentialProvider(String component,
URI uri,
org.apache.hadoop.conf.Configuration conf,
MarshalledCredentials credentials,
MarshalledCredentials.CredentialTypeRequired typeRequired)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MarshalledCredentials |
SessionTokenIdentifier.getMarshalledCredentials()
Get the marshalled credentials.
|
| Constructor and Description |
|---|
FullCredentialsTokenIdentifier(URI uri,
org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
MarshalledCredentials marshalledCredentials,
EncryptionSecrets encryptionSecrets,
String origin) |
RoleTokenIdentifier(URI uri,
org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
MarshalledCredentials marshalledCredentials,
EncryptionSecrets encryptionSecrets,
String origin) |
SessionTokenIdentifier(org.apache.hadoop.io.Text kind,
org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
URI uri,
MarshalledCredentials marshalledCredentials,
EncryptionSecrets encryptionSecrets,
String origin)
Constructor.
|
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.