Use the AK to initialize credentials.
- (instancetype)initWithAccessKey:(NSString *)accessKey secretKey:(NSString *)secretKey authVersion:(OBSAuthVersion)authVersion
Parameters
accessKey |
AK provided by the cloud console |
secretKey |
SK provided by the cloud console |
authVersion |
Authentication version (OBSAuthVersionV2 OBSAuthVersionV4) |
Return Value
Object obtained after the initialization
Declared In
OBSServiceCredentialProvider.h