C# Class Amazon.Runtime.ImmutableCredentials

Immutable representation of AWS credentials.
Show file Open project: scopely/aws-sdk-net Class Usage Examples

Public Methods

Method Description
Copy ( ) : ImmutableCredentials

Returns a copy of the current credentials.

ImmutableCredentials ( string awsAccessKeyId, string awsSecretAccessKey, string token ) : System

Constructs an ImmutableCredentials object with supplied accessKey, secretKey.

Private Methods

Method Description
ImmutableCredentials ( ) : System

Method Details

Copy() public method

Returns a copy of the current credentials.
public Copy ( ) : ImmutableCredentials
return ImmutableCredentials

ImmutableCredentials() public method

Constructs an ImmutableCredentials object with supplied accessKey, secretKey.
public ImmutableCredentials ( string awsAccessKeyId, string awsSecretAccessKey, string token ) : System
awsAccessKeyId string
awsSecretAccessKey string
token string Optional. Can be set to null or empty for non-session credentials.
return System