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)

access_key_id()

The S3 access key id.

credential_info()

The credential information.

credential_type()

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

expire_time_in_ms()

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

secret_access_key()

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.