gravitino.api.credential.s3_token_credential.S3TokenCredential¶
- class gravitino.api.credential.s3_token_credential.S3TokenCredential(credential_info: Dict[str, str], expire_time_in_ms: int)¶
Bases:
Credential
,ABC
Represents the S3 token credential.
- __init__(credential_info: Dict[str, str], expire_time_in_ms: int)¶
Methods
__init__
(credential_info, expire_time_in_ms)The S3 access key id.
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 S3 secret access key.
The S3 session token.
Attributes
S3_TOKEN_CREDENTIAL_TYPE
- access_key_id() str ¶
The S3 access key id.
- Returns:
The S3 access key id.
- 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.
- secret_access_key() str ¶
The S3 secret access key.
- Returns:
The S3 secret access key.
- session_token() str ¶
The S3 session token.
- Returns:
The S3 session token.