Package org.apache.hadoop.fs.s3a.auth.delegation
@LimitedPrivate("authorization-subsystems")
@Unstable
package org.apache.hadoop.fs.s3a.auth.delegation
Extensible delegation token support for the S3A connector.
Goal: support multiple back end token issue/renewal services, from
"pure client side" session tokens to full "Kerberos auth".
It is intended for internal use only; any external implementation
of
AbstractDelegationTokenBinding
must consider this API unstable and track changes as they happen.-
ClassDescriptionAn AbstractDelegationTokenBinding implementation is a class which handles the binding of its underlying authentication mechanism to the Hadoop Delegation token mechanism.This is the base class for both the delegation binding code and the back end service created; allows for shared methods across both.An S3A Delegation Token Identifier: contains the information needed to talk to S3A.Interface for providers of AWS policy for accessing data.Access levels.Binding information returned by the token provider.All the constants related to delegation tokens.All operations used for delegation which aren't in the store context.General IOException for Delegation Token issues.Interface for S3A Delegation Token access.These support operations on
EncryptionSecretswhich use the AWS SDK operations.Encryption options in a form which can serialized or marshalled as a hadoop Writeable.Full credentials: they are simply passed as-is, rather than converted to a session.The full credentials payload is the same of that for a session token, but a different token kind is used.Role Token support requests an explicit role and automatically restricts that role to the given policy of the binding.Role token identifier.Support for creating a DT from a filesystem.How will tokens be issued on request?A DT fetcher for S3A.The session token DT binding: creates an AWS session token for the DT, extracts and serves it up afterwards.A token identifier which contains a set of AWS session credentials, credentials which will be valid until they expire.