Session credentials retrieved and automatically refreshed from
an instance of the AmazonSecurityTokenService
Namespace: Amazon.RuntimeAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class RefreshingSessionAWSCredentials : RefreshingAWSCredentials
Public Class RefreshingSessionAWSCredentials _ Inherits RefreshingAWSCredentials
public ref class RefreshingSessionAWSCredentials : public RefreshingAWSCredentials
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| RefreshingSessionAWSCredentials()()()() |
Constructs a RefreshingSessionAWSCredentials object.
AccessKey and SecretKey are taken from the app.config for the application.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> | |
| RefreshingSessionAWSCredentials(AmazonSecurityTokenService) |
Constructs a RefreshingSessionAWSCredentials object.
The passed-in AmazonSecurityTokenService is used to refresh credentials.
| |
| RefreshingSessionAWSCredentials(AmazonSecurityTokenServiceConfig) |
Constructs a RefreshingSessionAWSCredentials object.
AccessKey and SecretKey are taken from the app.config for the application.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> | |
| 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(String, String) |
Constructs a RefreshingSessionAWSCredentials object.
The passed-in AmazonSecurityTokenService is used to refresh 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(String, String, AmazonSecurityTokenServiceConfig) |
Constructs a RefreshingSessionAWSCredentials object.
The passed-in AmazonSecurityTokenService is used to refresh credentials.
| |
| Dispose()()()() | (Inherited from AWSCredentials.) | |
| Equals(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.
Default PreemptExpiryTime is 15 minutes.
Property cannot be set to a negative TimeSpan.
| |
| ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AWSCredentials
Amazon.Runtime..::..RefreshingAWSCredentials
Amazon.Runtime..::..RefreshingSessionAWSCredentials
Amazon.Runtime..::..AWSCredentials
Amazon.Runtime..::..RefreshingAWSCredentials
Amazon.Runtime..::..RefreshingSessionAWSCredentials