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.
AWS Credentials that resolve using AWS SSO.
Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class SSOAWSCredentials : RefreshingAWSCredentials IDisposable
The SSOAWSCredentials type exposes the following members
Name | Description | |
---|---|---|
![]() |
SSOAWSCredentials(string, string, string, string) |
Constructs an SSOAWSCredentials object. |
![]() |
SSOAWSCredentials(string, string, string, string, SSOAWSCredentialsOptions) |
Constructs an SSOAWSCredentials object. |
Name | Type | Description | |
---|---|---|---|
![]() |
AccountId | System.String |
The AWS account ID that temporary AWS credentials will be resolved for. |
![]() |
Options | Amazon.Runtime.SSOAWSCredentialsOptions |
Options to be used in the SSO flow to resolve credentials.
Developers wishing to support AWS SSO would want to provide the following:
- |
![]() |
PreemptExpiryTime | System.TimeSpan | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
![]() |
Region | System.String |
The AWS region where the SSO directory for Amazon.Runtime.SSOAWSCredentials.StartUrl is hosted. |
![]() |
RoleName | System.String |
The corresponding IAM role in the AWS account that temporary AWS credentials will be resolved for. |
![]() |
StartUrl | System.String |
The main URL for users to login to their SSO directory. Provided by the SSO service via the web console. |
Name | Description | |
---|---|---|
![]() |
ClearCredentials() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
![]() |
Dispose() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
![]() |
GetCredentials() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
![]() |
GetCredentialsAsync() | Inherited from Amazon.Runtime.RefreshingAWSCredentials. |
![]() ![]() |
HasCachedAccessTokenAvailable(string) |
Returns true if there is already a non-expired cached login access token in the token cache. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer