Session credentials retrieved and automatically refreshed from
an instance of the AmazonSecurityTokenService
| C# |
public class RefreshingSessionAWSCredentials : RefreshingAWSCredentials
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| 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.
<?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.
<?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) | (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.) |
| Object | |||
| AWSCredentials | |||
| RefreshingAWSCredentials | |||
| RefreshingSessionAWSCredentials | |||