Skip to content

Sts  >  Structures  >  Credentials

Credentials

Structure Class

Credentials dataclass

Amazon Web Services credentials for API authentication.

Attributes

access_key_id instance-attribute
access_key_id: str

The access key ID that identifies the temporary security credentials.

expiration instance-attribute
expiration: datetime

The date on which the current credentials expire.

secret_access_key class-attribute instance-attribute
secret_access_key: str = field(repr=False)

The secret access key that can be used to sign requests.

session_token instance-attribute
session_token: str

The token that users must pass to the service API to use the temporary credentials.