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_AMAZONKMS_SECRETKEY 64 CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AmazonKMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AmazonKMS_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