AWS SDK for .NET Documentation
CreateSAMLProvider Method (request)
Amazon ► Amazon.IdentityManagement ► AmazonIdentityManagementServiceClient ► CreateSAMLProvider(CreateSAMLProviderRequest)
Did this page help you? Yes No Tell us about it...
Creates an IAM entity to describe an identity provider (IdP) that supports SAML 2.0.

The SAML provider that you create with this operation can be used as a principal in a role's trust policy to establish a trust relationship between AWS and a SAML identity provider. You can create an IAM role that supports Web-based single sign-on (SSO) to the AWS Management Console or one that supports API access to AWS.

When you create the SAML provider, you upload an a SAML metadata document that you get from your IdP and that includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.

Note:
This operation requires Signature Version 4.

For more information, see Giving Console Access Using SAML and Creating Temporary Security Credentials for SAML Federation in the Using Temporary Credentials guide.

Declaration Syntax

C#

    public CreateSAMLProviderResponse CreateSAMLProvider(
    	CreateSAMLProviderRequest request
    )

Parameters

request (CreateSAMLProviderRequest)
  Container for the necessary parameters to execute the CreateSAMLProvider service method.

Return Value
The response from the CreateSAMLProvider service method, as returned by IdentityManagementService.
Exceptions

Exception | Condition
--- | ---
EntityAlreadyExistsException | The request was rejected because it attempted to create a resource that already exists.
InvalidInputException |
LimitExceededException | The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)