Mr_Tib
01/12/2023, 4:56 PMhttps.createSecureString
. The docs say that method is only applicable to server side scripts, so, how do I securely store API credentials for client side scripts? Thanks.eblackey
01/12/2023, 5:01 PMbattk
01/12/2023, 5:10 PMbattk
01/12/2023, 5:11 PMbattk
01/12/2023, 5:25 PMMr_Tib
01/12/2023, 5:33 PMMr_Tib
01/12/2023, 5:35 PMAnthony OConnor
01/12/2023, 5:49 PMMr_Tib
01/13/2023, 4:10 PMtoken = https.createSecureString({input:'{custsecret_my_secret_id}'});
scriptContext.response.write(token);
Mr_Tib
01/13/2023, 4:15 PMhttps.createSecureString
is just meant to use a secret in an https request not to read the value and store it in a variable or whatever.Anthony OConnor
01/13/2023, 4:16 PMMr_Tib
01/13/2023, 4:17 PMMr_Tib
01/13/2023, 4:18 PMMr_Tib
01/13/2023, 6:03 PMMr_Tib
01/13/2023, 6:14 PM