Constructs AmazonSecurityTokenServiceClient with AWS Access Key ID, AWS Secret Key and an
AmazonSecurityTokenServiceClient Configuration object. If the config object's
UseSecureStringForAwsSecretKey is false, the AWS Secret Key
is stored as a clear-text string. Please use this option only
if the application environment doesn't allow the use of SecureStrings.
Namespace: Amazon.SecurityToken
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public AmazonSecurityTokenServiceClient(
String awsAccessKeyId,
String awsSecretAccessKey,
String awsSessionToken,
AmazonSecurityTokenServiceConfig clientConfig
)
Parameters
- awsAccessKeyId
-
Type: System.String
AWS Access Key ID
- awsSecretAccessKey
-
Type: System.String
AWS Secret Access Key
- awsSessionToken
-
Type: System.String
AWS Session Token
- clientConfig
-
Type: Amazon.SecurityToken.AmazonSecurityTokenServiceConfig
The AmazonSecurityTokenServiceClient Configuration Object
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8