gravitino.api.credential.s3_secret_key_credential.S3SecretKeyCredential¶
- class gravitino.api.credential.s3_secret_key_credential.S3SecretKeyCredential(credential_info: Dict[str, str], expire_time: int)¶
Bases:
Credential
,ABC
Represents S3 secret key credential.
- __init__(credential_info: Dict[str, str], expire_time: int)¶
Methods
__init__
(credential_info, expire_time)The S3 access key id.
The credential information.
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 in milliseconds since the epoch, 0 means it will never expire.
The S3 secret access key.
Attributes
S3_SECRET_KEY_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 ¶
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.
- 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.