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)The ADLS account name.
The credential information.
The type of the credential.
Returns the expiration time of the credential in milliseconds since the epoch, 0 means it will never expire.
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.