Skip to content

Gets a subject, which associates a certificate identity with authentication attempts

Description

Gets a subject, which associates a certificate identity with authentication attempts. The subject stores auditing information such as the status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.

Required permissions: rolesanywhere:GetSubject.

Usage

iamrolesanywhere_get_subject(subjectId)

Arguments

  • subjectId

    [required] The unique identifier of the subject.

Value

A list with the following syntax:

list(
  subject = list(
    subjectArn = "string",
    subjectId = "string",
    enabled = TRUE|FALSE,
    x509Subject = "string",
    lastSeenAt = as.POSIXct(
      "2015-01-01"
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    credentials = list(
      list(
        seenAt = as.POSIXct(
          "2015-01-01"
        ),
        serialNumber = "string",
        issuer = "string",
        enabled = TRUE|FALSE,
        x509CertificateData = "string",
        failed = TRUE|FALSE
      )
    ),
    instanceProperties = list(
      list(
        seenAt = as.POSIXct(
          "2015-01-01"
        ),
        properties = list(
          "string"
        ),
        failed = TRUE|FALSE
      )
    )
  )
)

Request syntax

svc$get_subject(
  subjectId = "string"
)