Update Identity Provider
cognitoidentityprovider_update_identity_provider | R Documentation |
Modifies the configuration and trust relationship between a third-party identity provider (IdP) and a user pool¶
Description¶
Modifies the configuration and trust relationship between a third-party identity provider (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through managed login and OIDC relying-party libraries. For more information, see Third-party IdP sign-in.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
Usage¶
cognitoidentityprovider_update_identity_provider(UserPoolId,
ProviderName, ProviderDetails, AttributeMapping, IdpIdentifiers)
Arguments¶
UserPoolId |
[required] The Id of the user pool where you want to update your IdP. |
ProviderName |
[required] The name of the IdP that you want to update. You can
pass the identity provider name in the |
ProviderDetails |
The scopes, URLs, and identifiers for your external identity
provider. The following examples describe the provider detail keys for
each IdP type. These values and their schema are subject to change.
Social IdP OpenID Connect (OIDC) Amazon Cognito accepts the following elements when it can't discover
endpoint URLs from Create or update request: Describe response: SAML Create or update request with Metadata URL: Create or update request with Metadata file: The value of Describe response: LoginWithAmazon Create or update request: Describe response: Create or update request: Describe response: SignInWithApple Create or update request: Describe response: Create or update request: Describe response: |
AttributeMapping |
A mapping of IdP attributes to standard and custom user pool attributes. Specify a user pool attribute as the key of the key-value pair, and the IdP attribute claim name as the value. |
IdpIdentifiers |
An array of IdP identifiers, for example |
Value¶
A list with the following syntax:
list(
IdentityProvider = list(
UserPoolId = "string",
ProviderName = "string",
ProviderType = "SAML"|"Facebook"|"Google"|"LoginWithAmazon"|"SignInWithApple"|"OIDC",
ProviderDetails = list(
"string"
),
AttributeMapping = list(
"string"
),
IdpIdentifiers = list(
"string"
),
LastModifiedDate = as.POSIXct(
"2015-01-01"
),
CreationDate = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$update_identity_provider(
UserPoolId = "string",
ProviderName = "string",
ProviderDetails = list(
"string"
),
AttributeMapping = list(
"string"
),
IdpIdentifiers = list(
"string"
)
)