AWSWebIdentityCredentialsProvider

Objective-C

@interface AWSWebIdentityCredentialsProvider : NSObject <AWSCredentialsProvider>

Swift

class AWSWebIdentityCredentialsProvider : NSObject, AWSCredentialsProvider

A credentials provider that uses AWS STS web identity federation.

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *webIdentityToken

    Swift

    var webIdentityToken: String { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *roleArn

    Swift

    var roleArn: String { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *roleSessionName

    Swift

    var roleSessionName: String { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *providerId

    Swift

    var providerId: String { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithRegionType:(AWSRegionType)regionType
                            providerId:(nullable NSString *)providerId
                               roleArn:(NSString *)roleArn
                       roleSessionName:(NSString *)roleSessionName
                      webIdentityToken:(NSString *)webIdentityToken;

    Swift

    init(regionType: AWSRegionType, providerId: String?, roleArn: String, roleSessionName: String, webIdentityToken: String)