Immutable representation of AWS credentials.
| C# |
public class ImmutableCredentials : IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ImmutableCredentials(String, String, String, Boolean) |
Constructs an ImmutableCredentials object with supplied accessKey, secretKey,
optional token and flag to determine if secretKey should be stored in a SecureString
| |
| ImmutableCredentials(String, SecureString, String) |
Constructs an ImmutableCredentials object with supplied accessKey, secretKey as a SecureString
and an optional session token.
| |
| AccessKey |
Gets the AccessKey property for the current credentials.
| |
| ClearSecretKey |
Gets the ClearSecretKey property for the current credentials.
| |
| Copy()()()() |
Returns a copy of the current credentials.
| |
| Dispose()()()() | Releases all resources used by the ImmutableCredentials | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| SecureSecretKey |
Gets the SecureSecretKey property for the current credentials.
| |
| Token |
Gets the Token property for the current credentials.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| UseSecureStringForSecretKey |
Gets the UseSecureStringForSecretKey property for the current credentials.
Specifies if secretKey is stored as SecureString or String.
| |
| UseToken |
Gets the UseToken property for the current credentials.
Specifies if Token property is non-emtpy.
|
| Object | |
| ImmutableCredentials | |