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.
Namespace: Amazon.Runtime.CredentialManagement
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class CredentialProfileOptions
The CredentialProfileOptions type exposes the following members
Name | Description | |
---|---|---|
![]() |
CredentialProfileOptions() |
Name | Type | Description | |
---|---|---|---|
![]() |
AccessKey | System.String |
The access key to be used in the AWSCredentials. |
![]() |
CredentialProcess | System.String |
Contains the executable information to be used by the process credential retriever to either fetch Basic or Session credentials |
![]() |
CredentialSource | System.String |
The source of credentials to be used to obtain AWSCredentials. |
![]() |
EndpointName | System.String |
The endpoint name to be used for federated AWSCredentials. |
![]() |
ExternalID | System.String |
The external id to use in assume role AWSCredentials. |
![]() |
MfaSerial | System.String |
The serial number of the MFA to use in assume role AWSCredentials. |
![]() |
RoleArn | System.String |
The role ARN to use when creating assume role or federated AWSCredentials. |
![]() |
RoleSessionName | System.String |
An identifier for the assumed role session. |
![]() |
SecretKey | System.String |
The secret key to use when creating AWSCredentials. |
![]() |
SourceProfile | System.String |
When this CredentialProfileOptions object references another CredentialProfile, the name of the referenced CredentialProfile. |
![]() |
SsoAccountId | System.String |
The AWS account ID that temporary AWS credentials will be resolved for using AWS SSO. |
![]() |
SsoRegion | System.String |
The AWS region where the SSO directory for Amazon.Runtime.CredentialManagement.CredentialProfileOptions.SsoStartUrl is hosted. |
![]() |
SsoRoleName | System.String |
The corresponding IAM role in the AWS account that temporary AWS credentials will be resolved for using AWS SSO. |
![]() |
SsoStartUrl | System.String |
The main URL for users to login to their SSO directory. Provided by the SSO service via the web console. |
![]() |
Token | System.String |
The session token to be used to create AWSCredentials. |
![]() |
UserIdentity | System.String |
The user identity to use when creating federated AWSCredentials. If not set, the user identity that the code is running under will be used. |
![]() |
WebIdentityTokenFile | System.String |
Absolute path to the file on disk containing an OIDC token. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0, 1.3
.NET Framework:
Supported in: 4.5, 4.0, 3.5