Table of Contents

Class CredentialProfileOptions

Namespace
Amazon.Runtime.CredentialManagement
Assembly
AWSSDK.Core.dll
public class CredentialProfileOptions
Inheritance
CredentialProfileOptions
Inherited Members

Constructors

CredentialProfileOptions()

public CredentialProfileOptions()

Properties

AccessKey

The access key to be used in the AWSCredentials.

public string AccessKey { get; set; }

Property Value

string

CredentialProcess

Contains the executable information to be used by the process credential retriever to either fetch Basic or Session credentials

public string CredentialProcess { get; set; }

Property Value

string

CredentialSource

The source of credentials to be used to obtain AWSCredentials.

public string CredentialSource { get; set; }

Property Value

string

EndpointName

The endpoint name to be used for federated AWSCredentials.

public string EndpointName { get; set; }

Property Value

string

ExternalID

The external id to use in assume role AWSCredentials.

public string ExternalID { get; set; }

Property Value

string

MfaSerial

The serial number of the MFA to use in assume role AWSCredentials.

public string MfaSerial { get; set; }

Property Value

string

RoleArn

The role ARN to use when creating assume role or federated AWSCredentials.

public string RoleArn { get; set; }

Property Value

string

RoleSessionName

An identifier for the assumed role session.

public string RoleSessionName { get; set; }

Property Value

string

SecretKey

The secret key to use when creating AWSCredentials.

public string SecretKey { get; set; }

Property Value

string

SourceProfile

When this CredentialProfileOptions object references another CredentialProfile, the name of the referenced CredentialProfile.

public string SourceProfile { get; set; }

Property Value

string

SsoAccountId

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

public string SsoAccountId { get; set; }

Property Value

string

SsoRegion

The AWS region where the SSO directory for SsoStartUrl is hosted.

public string SsoRegion { get; set; }

Property Value

string

SsoRoleName

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

public string SsoRoleName { get; set; }

Property Value

string

SsoSession

Name of the Sso Session section used to retrieve SsoRegion and SsoStartUrl.

public string SsoSession { get; set; }

Property Value

string

SsoStartUrl

The main URL for users to login to their SSO directory. Provided by the SSO service via the web console.

public string SsoStartUrl { get; set; }

Property Value

string

Token

The session token to be used to create AWSCredentials.

public string Token { get; set; }

Property Value

string

UserIdentity

The user identity to use when creating federated AWSCredentials. If not set, the user identity that the code is running under will be used.

public string UserIdentity { get; set; }

Property Value

string

WebIdentityTokenFile

Absolute path to the file on disk containing an OIDC token.

public string WebIdentityTokenFile { get; set; }

Property Value

string

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string