AWS SDK for .NET Documentation
ImmutableCredentials Class
AmazonAmazon.RuntimeImmutableCredentials Did this page help you?   Yes   No    Tell us about it...
Immutable representation of AWS credentials.
Declaration Syntax
C#
public class ImmutableCredentials : IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.

Inheritance Hierarchy
Object
ImmutableCredentials

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