Configuring an AK and SK
In test.c, use the GetUserAuthInfo function to set an AK and SK.
DISStatus GetUserAuthInfo(char *ProjectId, char *akArray, char *skArray, char *xSecurityToken)
{
char *ak = "Provide your Access Key";
char *sk = "Provide your Secret Key";
printfdbgfunc;
strncpy(akArray, ak, strlen(ak));
strncpy(skArray, sk, strlen(sk));
printfdbgoutfunc;
return 0;
}
Last Article: Configuring a Sample Project
Next Article: Initializing DIS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.