Constructs a RefreshingSessionAWSCredentials object.
AccessKey and SecretKey are taken from the app.config for the application.
Example App.config with credentials set.
CopyC#
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration>
| C# |
public RefreshingSessionAWSCredentials( AmazonSecurityTokenServiceConfig stsConfig )
- stsConfig (AmazonSecurityTokenServiceConfig)
- Config object used for the constructed AmazonSecurityTokenService.