public class CreateSAMLProviderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateSAMLProvider operation
.
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 Enabling SAML 2.0 Federated Users to Access the AWS Management Console and About SAML 2.0-based Federation in the IAM User Guide .
NOOP
Constructor and Description |
---|
CreateSAMLProviderRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSAMLProviderRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the provider to create.
|
String |
getSAMLMetadataDocument()
An XML document generated by an identity provider (IdP) that supports
SAML 2.0.
|
int |
hashCode() |
void |
setName(String name)
The name of the provider to create.
|
void |
setSAMLMetadataDocument(String sAMLMetadataDocument)
An XML document generated by an identity provider (IdP) that supports
SAML 2.0.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSAMLProviderRequest |
withName(String name)
The name of the provider to create.
|
CreateSAMLProviderRequest |
withSAMLMetadataDocument(String sAMLMetadataDocument)
An XML document generated by an identity provider (IdP) that supports
SAML 2.0.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSAMLMetadataDocument()
For more information, see About SAML 2.0-based Federation in the IAM User Guide
Constraints:
Length: 1000 - 10000000
For more information, see About SAML 2.0-based Federation in the IAM User Guide
public void setSAMLMetadataDocument(String sAMLMetadataDocument)
For more information, see About SAML 2.0-based Federation in the IAM User Guide
Constraints:
Length: 1000 - 10000000
sAMLMetadataDocument
- 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 About SAML 2.0-based Federation in the IAM User Guide
public CreateSAMLProviderRequest withSAMLMetadataDocument(String sAMLMetadataDocument)
For more information, see About SAML 2.0-based Federation in the IAM User Guide
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1000 - 10000000
sAMLMetadataDocument
- 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 About SAML 2.0-based Federation in the IAM User Guide
public String getName()
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
public void setName(String name)
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
name
- The name of the provider to create.public CreateSAMLProviderRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
name
- The name of the provider to create.public String toString()
toString
in class Object
Object.toString()
public CreateSAMLProviderRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.