AWS SDK Version 3 for .NET
API Reference

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.

Constructs an SSOAWSCredentials object.

Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public SSOAWSCredentials(
         String accountId,
         String region,
         String roleName,
         String startUrl,
         SSOAWSCredentialsOptions options
)

Parameters

accountId
Type: System.String

The AWS account ID that temporary AWS credentials will be resolved for.

region
Type: System.String

The AWS region where the SSO directory for is hosted.

roleName
Type: System.String

The corresponding IAM role in the AWS account that temporary AWS credentials will be resolved for.

startUrl
Type: System.String

The main URL for users to login to their SSO directory.

options
Type: Amazon.Runtime.SSOAWSCredentialsOptions

Options to be used in the SSO flow to resolve credentials.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5