class Aws::SecurityHub::Types::AwsIamAccessKeyDetails

IAM access key details related to a finding.

@note When making an API call, you may pass AwsIamAccessKeyDetails

data as a hash:

    {
      user_name: "NonEmptyString",
      status: "Active", # accepts Active, Inactive
      created_at: "NonEmptyString",
      principal_id: "NonEmptyString",
      principal_type: "NonEmptyString",
      principal_name: "NonEmptyString",
      account_id: "NonEmptyString",
      access_key_id: "NonEmptyString",
      session_context: {
        attributes: {
          mfa_authenticated: false,
          creation_date: "NonEmptyString",
        },
        session_issuer: {
          type: "NonEmptyString",
          principal_id: "NonEmptyString",
          arn: "NonEmptyString",
          account_id: "NonEmptyString",
          user_name: "NonEmptyString",
        },
      },
    }

@!attribute [rw] user_name

The user associated with the IAM access key related to a finding.

The `UserName` parameter has been replaced with the `PrincipalName`
parameter because access keys can also be assigned to principals
that are not IAM users.
@return [String]

@!attribute [rw] status

The status of the IAM access key related to a finding.
@return [String]

@!attribute [rw] created_at

Indicates when the IAM access key was created.

Uses the `date-time` format specified in [RFC 3339 section 5.6,
Internet Date/Time Format][1]. The value cannot contain spaces. For
example, `2020-03-22T13:22:13.933Z`.

[1]: https://tools.ietf.org/html/rfc3339#section-5.6
@return [String]

@!attribute [rw] principal_id

The ID of the principal associated with an access key.
@return [String]

@!attribute [rw] principal_type

The type of principal associated with an access key.
@return [String]

@!attribute [rw] principal_name

The name of the principal.
@return [String]

@!attribute [rw] account_id

The Amazon Web Services account ID of the account for the key.
@return [String]

@!attribute [rw] access_key_id

The identifier of the access key.
@return [String]

@!attribute [rw] session_context

Information about the session that the key was used for.
@return [Types::AwsIamAccessKeySessionContext]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsIamAccessKeyDetails AWS API Documentation

Constants

SENSITIVE