AWS SDK for .NET Documentation
ImmutableCredentials Constructor (awsAccessKeyId, awsSecretAccessKey, token, useSecureStringForSecretKey)
AmazonAmazon.RuntimeImmutableCredentialsImmutableCredentials(String, String, String, Boolean) Did this page help you?   Yes   No    Tell us about it...
Constructs an ImmutableCredentials object with supplied accessKey, secretKey, optional token and flag to determine if secretKey should be stored in a SecureString
Declaration Syntax
C#
public ImmutableCredentials(
	string awsAccessKeyId,
	string awsSecretAccessKey,
	string token,
	bool useSecureStringForSecretKey
)
Parameters
awsAccessKeyId (String)
awsSecretAccessKey (String)
token (String)
Optional. Can be set to null or empty for non-session credentials.
useSecureStringForSecretKey (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)