AWSCredentials Class Reference

Inherits from NSObject
Declared in AWSCredentialsProvider.h
AWSCredentialsProvider.m

Overview

An AWS credentials container class.

  accessKey

Access Key component of credentials.

@property (nonatomic, strong, readonly) NSString *accessKey

Declared In

AWSCredentialsProvider.h

  secretKey

Secret Access Key component of credentials.

@property (nonatomic, strong, readonly) NSString *secretKey

Declared In

AWSCredentialsProvider.h

  sessionKey

Session Token component of credentials.

@property (nonatomic, strong, readonly, nullable) NSString *sessionKey

Declared In

AWSCredentialsProvider.h

  expiration

Date at which these credentials will expire.

@property (nonatomic, strong, readonly, nullable) NSDate *expiration

Declared In

AWSCredentialsProvider.h

– initWithAccessKey:secretKey:sessionKey:expiration:

Initiates an AWS credentials object.

- (instancetype)initWithAccessKey:(NSString *)accessKey secretKey:(NSString *)secretKey sessionKey:(nullable NSString *)sessionKey expiration:(nullable NSDate *)expiration

Parameters

accessKey

An AWS Access key.

secretKey

An AWS Secret key.

sessionKey

An AWS Session key.

expiration

The expiration date of the temporary AWS credentials.

Return Value

An AWS credentials object.

Declared In

AWSCredentialsProvider.h