Constructs an ImmutableCredentials object with supplied accessKey, secretKey,
optional token and flag to determine if secretKey should be stored in a SecureString
Declaration Syntax
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)