Skip to content

Enable Trust Anchor

iamrolesanywhere_enable_trust_anchor R Documentation

Enables a trust anchor

Description

Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.

Required permissions: rolesanywhere:EnableTrustAnchor.

Usage

iamrolesanywhere_enable_trust_anchor(trustAnchorId)

Arguments

trustAnchorId

[required] The unique identifier of the trust anchor.

Value

A list with the following syntax:

list(
  trustAnchor = list(
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    enabled = TRUE|FALSE,
    name = "string",
    notificationSettings = list(
      list(
        channel = "ALL",
        configuredBy = "string",
        enabled = TRUE|FALSE,
        event = "CA_CERTIFICATE_EXPIRY"|"END_ENTITY_CERTIFICATE_EXPIRY",
        threshold = 123
      )
    ),
    source = list(
      sourceData = list(
        acmPcaArn = "string",
        x509CertificateData = "string"
      ),
      sourceType = "AWS_ACM_PCA"|"CERTIFICATE_BUNDLE"|"SELF_SIGNED_REPOSITORY"
    ),
    trustAnchorArn = "string",
    trustAnchorId = "string",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$enable_trust_anchor(
  trustAnchorId = "string"
)