Skip to content

IAM  >  Structures  >  AccessKeyMetadata

AccessKeyMetadata

Structure Class

AccessKeyMetadata dataclass

Bases: _SerdeShape

Contains information about an Amazon Web Services access key, without its secret key.

This data type is used as a response element in the ListAccessKeys operation.

Attributes

access_key_id class-attribute instance-attribute
access_key_id: str | None = ...

The ID for this access key.

create_date class-attribute instance-attribute
create_date: datetime | None = ...

The date when the access key was created.

status class-attribute instance-attribute
status: str | None = ...

The status of the access key. Active means that the key is valid for API calls; Inactive means it is not.

user_name class-attribute instance-attribute
user_name: str | None = ...

The name of the IAM user that the key is associated with.