Skip to content

Get Subject

iamrolesanywhere_get_subject R Documentation

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

Request syntax

svc$get_subject(
  subjectId = "string"
)