Join Slack
Powered by
2020.2 looks like they have finally made secrets/g...
# suitescript
b
battk
08/19/2021, 4:34 PM
2020.2 looks like they have finally made secrets/guids useful enough to implement
Basic authentication
r
Robert Vice
08/19/2021, 4:39 PM
My problem is much more simple. I need to pass the API Secret from NetSuite into the https.get Header called 'ApiKey'
s
stalbert
08/19/2021, 5:01 PM
that doesn't sound any simpler, just swap out the header name?
b
battk
08/19/2021, 5:08 PM
his case should be simpler since he doesnt need to do encoding
r
Robert Vice
08/20/2021, 7:22 AM
FYI, this did work. const apiKey = https.createSecureString({input: '{custsecret_api_key}'}); Thanks
Open in Slack
Previous
Next