SessionCredentials¶
Structure Class¶
SessionCredentials
dataclass
¶
Bases: _SerdeShape
The established temporary security credentials of the session.
Note
Directory buckets - These session credentials are only supported for the authentication and authorization of Zonal endpoint API operations on directory buckets.
Attributes¶
access_key_id
instance-attribute
¶
access_key_id: str
A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.
expiration
instance-attribute
¶
expiration: datetime
Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.