AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Temporary credentials that are created following successful authentication with a federated endpoint supporting SAML.
Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class FederatedAWSCredentials : RefreshingAWSCredentials IDisposable
The FederatedAWSCredentials type exposes the following members
Name | Description | |
---|---|---|
FederatedAWSCredentials(SAMLEndpoint, string) |
Constructs an instance of FederatedAWSCredentials. After construction call GetCredentials to authenticate the user/process and obtain temporary AWS credentials. |
|
FederatedAWSCredentials(SAMLEndpoint, string, FederatedAWSCredentialsOptions) |
Constructs an instance of FederatedAWSCredentials. After construction call GetCredentials to authenticate the user/process and obtain temporary AWS credentials. |
Name | Type | Description | |
---|---|---|---|
Options | Amazon.Runtime.FederatedAWSCredentialsOptions |
The options used for authentication. See Amazon.Runtime.FederatedAWSCredentialsOptions for details about available options. |
|
PreemptExpiryTime | System.TimeSpan | Inherited from Amazon.Runtime.RefreshingAWSCredentials. | |
RoleArn | System.String |
The role ARN used for authentication. |
|
SAMLEndpoint | Amazon.Runtime.CredentialManagement.SAMLEndpoint |
The SAML Endpoint used for authentication. |
Name | Description | |
---|---|---|
ClearCredentials() |
Clears currently-stored credentials, forcing the next GetCredentials call to generate new credentials. |
|
Dispose() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. | |
GetCredentials() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. | |
GetCredentialsAsync() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5