AWS SDK for .NET Documentation
RefreshingSessionAWSCredentials Class
AmazonAmazon.RuntimeRefreshingSessionAWSCredentials Did this page help you?   Yes   No    Tell us about it...
Session credentials retrieved and automatically refreshed from an instance of the AmazonSecurityTokenService
Declaration Syntax
C#
public class RefreshingSessionAWSCredentials : RefreshingAWSCredentials
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RefreshingSessionAWSCredentials(String, String)
Constructs a RefreshingSessionAWSCredentials object. The passed-in AmazonSecurityTokenService is used to refresh credentials.

RefreshingSessionAWSCredentials(String, String, AmazonSecurityTokenServiceConfig)
Constructs a RefreshingSessionAWSCredentials object. The passed-in AmazonSecurityTokenService is used to refresh credentials.

RefreshingSessionAWSCredentials(AmazonSecurityTokenService)
Constructs a RefreshingSessionAWSCredentials object. The passed-in AmazonSecurityTokenService is used to refresh credentials.

RefreshingSessionAWSCredentials(AWSCredentials)
Constructs a RefreshingSessionAWSCredentials object. AmazonSecurityTokenService is created from passed-in credentials and is used to refresh credentials. Passed-in AWSCredentials cannot be session credentials.

RefreshingSessionAWSCredentials(AWSCredentials, AmazonSecurityTokenServiceConfig)
Constructs a RefreshingSessionAWSCredentials object. AmazonSecurityTokenService is created from passed-in credentials and config object and is used to refresh credentials. Passed-in AWSCredentials cannot be session credentials.

RefreshingSessionAWSCredentials()()()()
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>

RefreshingSessionAWSCredentials(AmazonSecurityTokenServiceConfig)
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>

Dispose()()()() (Inherited from AWSCredentials.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetCredentials()()()()
Returns an instance of ImmutableCredentials for this instance
(Inherited from RefreshingAWSCredentials.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
PreemptExpiryTime
The time before actual expiration to expire the credentials. Property cannot be set to a negative TimeSpan.
(Inherited from RefreshingAWSCredentials.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
AWSCredentials
 RefreshingAWSCredentials
  RefreshingSessionAWSCredentials

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)