SecretKey Property
The secret key to use for authentication.
Syntax
ANSI (Cross Platform) char* GetSecretKey();
int SetSecretKey(const char* lpszSecretKey); Unicode (Windows) LPWSTR GetSecretKey();
INT SetSecretKey(LPCWSTR lpszSecretKey);
@property (nonatomic,readwrite,assign,getter=secretKey,setter=setSecretKey:) NSString* secretKey; - (NSString*)secretKey; - (void)setSecretKey:(NSString*)newSecretKey;
#define PID_S3CLIENT_SECRETKEY 68 IPWORKSS3_EXTERNAL void* IPWORKSS3_CALL IPWorksS3_S3Client_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSS3_EXTERNAL int IPWORKSS3_CALL IPWorksS3_S3Client_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property specifies the secret key that should be used for authentication. Both this property and AccessKey must be set before attempting any operations which connect to the server.
Data Type
String