AWS SDK for .NET Documentation
Credentials Class
AmazonAmazon.SecurityToken.ModelCredentials Did this page help you?   Yes   No    Tell us about it...
AWS credentials for API authentication.
Declaration Syntax
C#
public class Credentials
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Credentials()()()()
Initializes a new instance of the Credentials class

AccessKeyId
Gets and sets the property AccessKeyId.

The access key ID that identifies the temporary security credentials.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Expiration
Gets and sets the property Expiration.

The date on which the current credentials expire.


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
SecretAccessKey
Gets and sets the property SecretAccessKey.

The secret access key that can be used to sign requests.


SessionToken
Gets and sets the property SessionToken.

The token that users must pass to the service API to use the temporary credentials.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAccessKeyId(String) Obsolete.
Sets the AccessKeyId property

WithExpiration(DateTime) Obsolete.
Sets the Expiration property

WithSecretAccessKey(String) Obsolete.
Sets the SecretAccessKey property

WithSessionToken(String) Obsolete.
Sets the SessionToken property

Inheritance Hierarchy
Object
Credentials

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