Skip to content

Enable Profile

iamrolesanywhere_enable_profile R Documentation

Enables temporary credential requests for a profile

Description

Enables temporary credential requests for a profile.

Required permissions: rolesanywhere:EnableProfile.

Usage

iamrolesanywhere_enable_profile(profileId)

Arguments

profileId

[required] The unique identifier of the profile.

Value

A list with the following syntax:

list(
  profile = list(
    acceptRoleSessionName = TRUE|FALSE,
    attributeMappings = list(
      list(
        certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
        mappingRules = list(
          list(
            specifier = "string"
          )
        )
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    createdBy = "string",
    durationSeconds = 123,
    enabled = TRUE|FALSE,
    managedPolicyArns = list(
      "string"
    ),
    name = "string",
    profileArn = "string",
    profileId = "string",
    requireInstanceProperties = TRUE|FALSE,
    roleArns = list(
      "string"
    ),
    sessionPolicy = "string",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$enable_profile(
  profileId = "string"
)