Constructs a SessionAWSCredentials object for the specified accessKey, secretKey
session token and flag to specify if secretKey should be stored in SecureString.
![](../icons/collapse_all.gif)
Declaration Syntax
public SessionAWSCredentials(
string awsAccessKeyId,
string awsSecretAccessKey,
string token,
bool useSecureString
)
![](../icons/collapse_all.gif)
Parameters
- awsAccessKeyId (String)
- awsSecretAccessKey (String)
- token (String)
- useSecureString (Boolean)
-
True if secretKey should be stored in SecureString. False if secretKey should be stored as clear string.
Assembly:
AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)