gravitino.api.credential.adls_token_credential.ADLSTokenCredential

class gravitino.api.credential.adls_token_credential.ADLSTokenCredential(credential_info: Dict[str, str], expire_time_in_ms: int)

Bases: Credential, ABC

Represents ADLS token credential.

__init__(credential_info: Dict[str, str], expire_time_in_ms: int)

Methods

__init__(credential_info, expire_time_in_ms)

account_name()

The ADLS account name.

credential_info()

The credential information.

credential_type()

The type of the credential.

expire_time_in_ms()

Returns the expiration time of the credential in milliseconds since the epoch, 0 means it will never expire.

sas_token()

The ADLS sas token.

Attributes

ADLS_DOMAIN

ADLS_TOKEN_CREDENTIAL_TYPE

account_name() str

The ADLS account name.

Returns:

The ADLS account name.

credential_info() Dict[str, str]

The credential information.

Returns:

The credential information.

credential_type() str

The type of the credential.

Returns:

the type of the credential.

expire_time_in_ms() int

Returns the expiration time of the credential in milliseconds since the epoch, 0 means it will never expire.

Returns:

The expiration time of the credential.

sas_token() str

The ADLS sas token.

Returns:

The ADLS sas token.