Charan
11/13/2024, 7:26 AMCeligo AI
11/13/2024, 7:26 AMAI generated answer (using internal Slack threads):To access the secret keys in the Map/Reduce script that are created in the UI, you can use the SuiteScript modules like N/https and N/crypto. These modules have methods to use secrets without revealing their contents to the script. Here is a general approach: 1. Create the API secret keys in the NetSuite UI. 2. Use the internal id (or script id) of the created secret key to make the request via https post call using N/https module. Please note that NetSuite needs to know where in the request to place your secret. All of the inputs to N/https are strings and all of the mechanisms for specifying where to use the secret are basically template strings. Remember, the secret keys are not directly retrievable using NetSuite's APIs for security reasons. They are meant to be used securely and never exposed to the script. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
11/13/2024, 7:26 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82270956
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821862578
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818816245
Celigo AI
11/13/2024, 7:26 AMCeligo AI
11/13/2024, 7:27 AM