Kayla Kuhlman
03/21/2021, 11:24 PMWatz
03/22/2021, 6:25 AMKayla Kuhlman
03/22/2021, 1:50 PMKayla Kuhlman
03/22/2021, 2:06 PMconst secureToken = https.createSecureString({
input: '{' + 'custsecret_api_key' + '}'
});
the secret id can be referenced with "{" & "}" in the input of createSecureString. Then, it can be used as a variable no need to use the
credentials
parameter in the https method.