amazonka-iam-0.3.0: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.CreateSAMLProvider

Contents

Description

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.

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 UsingTemporary Credentials guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html

Synopsis

Request

Request constructor

Request lenses

csamlpName :: Lens' CreateSAMLProvider Text Source

The name of the provider to create.

csamlpSAMLMetadataDocument :: Lens' CreateSAMLProvider Text Source

An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document 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.

For more information, see Creating Temporary Security Credentials for SAMLFederation in the Using Temporary Security Credentials guide.

Response

Response constructor

createSAMLProviderResponse :: CreateSAMLProviderResponse Source

CreateSAMLProviderResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

csamlprSAMLProviderArn :: Lens' CreateSAMLProviderResponse (Maybe Text) Source

The Amazon Resource Name (ARN) of the SAML provider.