Constructs a RefreshingSessionAWSCredentials object.
The passed-in AmazonSecurityTokenService is used to refresh credentials.
Declaration Syntax
C# |
public RefreshingSessionAWSCredentials( string awsAccessKeyId, string awsSecretAccessKey, AmazonSecurityTokenServiceConfig stsConfig )
Parameters
- awsAccessKeyId (String)
- AWS Access Key ID
- awsSecretAccessKey (String)
- AWS Secret Access Key
- stsConfig (AmazonSecurityTokenServiceConfig)
- Config object used for the constructed AmazonSecurityTokenService.