gravitino.api.credential.azure_account_key_credential.AzureAccountKeyCredential

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

Bases: Credential, ABC

Represents Azure account key credential.

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

Methods

__init__(credential_info, expire_time_in_ms)

account_key()

The Azure account key.

account_name()

The Azure account name.

credential_info()

The credential information.

credential_type()

Returns 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.

Attributes

AZURE_ACCOUNT_KEY_CREDENTIAL_TYPE

account_key() str

The Azure account key.

Returns:

The Azure account key.

account_name() str

The Azure account name.

Returns:

The Azure account name.

credential_info() Dict[str, str]

The credential information.

Returns:

The credential information.

credential_type() str

Returns 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.