Skip to content

IAM  >  Structures  >  ServiceSpecificCredential

ServiceSpecificCredential

Structure Class

ServiceSpecificCredential dataclass

Bases: _SerdeShape

Contains the details of a service-specific credential.

Attributes

create_date instance-attribute
create_date: datetime

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.

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

The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period.

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

For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.

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

For Bedrock API keys and CloudWatch Logs API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.

service_name instance-attribute
service_name: str

The name of the service associated with the service-specific credential.

service_password class-attribute instance-attribute
service_password: str = ...

The generated password for the service-specific credential.

service_specific_credential_id instance-attribute
service_specific_credential_id: str

The unique identifier for the service-specific credential.

service_user_name class-attribute instance-attribute
service_user_name: str = ...

The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.

status instance-attribute
status: str

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.

user_name instance-attribute
user_name: str

The name of the IAM user associated with the service-specific credential.