Temporary credentials that are created following successful authentication with a federated endpoint supporting SAML.
public class StoredProfileSAMLCredentials : RefreshingAWSCredentials
The StoredProfileSAMLCredentials type exposes the following members
Constructs an instance of StoredProfileSAMLCredentials. This constructor searches for details of the role to assume, and optional credentials to use with the endpoint, using the profile name specified in the App.config.
Constructs an instance of StoredProfileSAMLCredentials. After construction call one of the Authenticate methods to authenticate the user/process and obtain temporary AWS credentials.
For users who are domain joined (the role profile does not contain user identity information) the temporary credentials will be refreshed automatically as needed. Non domain-joined users (those with user identity data in the profile) are required to re-authenticate when credential refresh is required. An exception is thrown when attempt is made to refresh credentials in this scenario. The consuming code of this class should catch the exception and prompt the user for credentials, then call Authenticate to re-initialize with a new set of temporary AWS credentials.
Any custom state passed when a credential callback was registered.
|PreemptExpiryTime||System.TimeSpan||Inherited from Amazon.Runtime.RefreshingAWSCredentials.|
The data about the SAML endpoint and any required user credentials parsed from the profile.
Name of the profile being used.
Location of the profiles, if used.
Registered callback for obtaining credentials to use in authentication. Required to be set if the role profile is not configured to use the default identity.
|ClearCredentials()||Inherited from Amazon.Runtime.RefreshingAWSCredentials.|
|GetCredentials()||Inherited from Amazon.Runtime.RefreshingAWSCredentials.|
|GetCredentialsAsync()||Inherited from Amazon.Runtime.RefreshingAWSCredentials.|
Supported in: 4.5, 4.0, 3.5