C# Class Amazon.Runtime.BasicAWSCredentials

Basic set of credentials consisting of an AccessKey and SecretKey
Inheritance: AWSCredentials
显示文件 Open project: scopely/aws-sdk-net Class Usage Examples

Public Methods

Method Description
BasicAWSCredentials ( string accessKey, string secretKey ) : System

Constructs a BasicAWSCredentials object for the specified accessKey and secretKey.

GetCredentials ( ) : ImmutableCredentials

Returns an instance of ImmutableCredentials for this instance

Method Details

BasicAWSCredentials() public method

Constructs a BasicAWSCredentials object for the specified accessKey and secretKey.
public BasicAWSCredentials ( string accessKey, string secretKey ) : System
accessKey string
secretKey string
return System

GetCredentials() public method

Returns an instance of ImmutableCredentials for this instance
public GetCredentials ( ) : ImmutableCredentials
return ImmutableCredentials