instead of storing an API secret as a parameter fo...
# suitescript
s
instead of storing an API secret as a parameter for a script, I remember seeing a new way with to store / retrieve API key
b
s
how would i reference inside a script
b
s
Copy code
const secStringKeyInBase64 = https.createSecureString({
            input: "{" + nameToken + "}:{" + passwordToken + "}"
        });
nameToken is the id of of the secert
this is for external API