Skip to content

Create Trust Anchor

iamrolesanywhere_create_trust_anchor R Documentation

Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA)

Description

Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:CreateTrustAnchor.

Usage

iamrolesanywhere_create_trust_anchor(enabled, name,
  notificationSettings, source, tags)

Arguments

enabled

Specifies whether the trust anchor is enabled.

name

[required] The name of the trust anchor.

notificationSettings

A list of notification settings to be associated to the trust anchor.

source

[required] The trust anchor type and its related certificate data.

tags

The tags to attach to 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$create_trust_anchor(
  enabled = TRUE|FALSE,
  name = "string",
  notificationSettings = list(
    list(
      channel = "ALL",
      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"
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)