Skip to content

Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type

Description

Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations.

Usage

verifiedpermissions_update_identity_source(policyStoreId,
  identitySourceId, updateConfiguration, principalEntityType)

Arguments

  • policyStoreId

    [required] Specifies the ID of the policy store that contains the identity source that you want to update.

    To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example:

    • ID: PSEXAMPLEabcdefg111111
    • Alias name: policy-store-alias/example-policy-store

    To view aliases, use list_policy_store_aliases.

  • identitySourceId

    [required] Specifies the ID of the identity source that you want to update.

  • updateConfiguration

    [required] Specifies the details required to communicate with the identity provider (IdP) associated with this identity source.

  • principalEntityType

    Specifies the data type of principals generated for identities authenticated by the identity source.

Value

A list with the following syntax:

list(
  createdDate = as.POSIXct(
    "2015-01-01"
  ),
  identitySourceId = "string",
  lastUpdatedDate = as.POSIXct(
    "2015-01-01"
  ),
  policyStoreId = "string"
)

Request syntax

svc$update_identity_source(
  policyStoreId = "string",
  identitySourceId = "string",
  updateConfiguration = list(
    cognitoUserPoolConfiguration = list(
      userPoolArn = "string",
      clientIds = list(
        "string"
      ),
      groupConfiguration = list(
        groupEntityType = "string"
      )
    ),
    openIdConnectConfiguration = list(
      issuer = "string",
      entityIdPrefix = "string",
      groupConfiguration = list(
        groupClaim = "string",
        groupEntityType = "string"
      ),
      tokenSelection = list(
        accessTokenOnly = list(
          principalIdClaim = "string",
          audiences = list(
            "string"
          )
        ),
        identityTokenOnly = list(
          principalIdClaim = "string",
          clientIds = list(
            "string"
          )
        )
      )
    )
  ),
  principalEntityType = "string"
)