If Amazon is specified as the the external identity provider, a subset of Amazon provider attributes can be used as the mapping attribute placeholder value.

The placeholder value must use the following syntax:

${providerAttributes.<Amazon attribute name>}

When you create a new Amazon identity provider entity, the POST request automatically maps the PingOne username attribute to the Amazon user_id attribute. The username attribute is the core mapping attribute; the default Amazon attribute value is user_id. It is also recommended that you map the PingOne email attribute to the Amazon email attribute.

The request body for the email-to-email mapping looks like this, with the value attribute showing the Amazon email attribute expressed using the placeholder syntax:

    "name": "email",
    "update": "EMPTY_ONLY",
    "value": "${providerAttributes.email}"

The POST /environments/{environmentId}/identityProviders operation adds a new identity provider resource to the specified environment.

When the type property value is set to AMAZON, Amazon’s clientId and clientSecret property values are required in the request body.

Amazon identity provider settings data model

Property Description
clientId A string that specifies the application ID from Amazon. This is a required property.
clientSecret A string that specifies the application secret from Amazon. This is a required property.

Amazon core attributes

Property Description
user_id A string that specifies the core Amazon attribute. The default value is ${providerAttributes.user_id} and the default update value is EMPTY_ONLY.

Amazon provider attributes

Permission Provider attributes
profile Options are: user_id, email, name
postal_code Options are: postal_code