user93865
11/07/2024, 10:11 AMCeligo AI
11/07/2024, 10:11 AMAI generated answer (using internal Slack threads):Based on the conversations, the model for using API Secrets from a widely distributed SuiteApp is closer to the second option you provided. In each account which installs your SuiteApp, the admin needs to go and define the secret via the UI. The API Secrets feature in NetSuite is designed to securely store sensitive data like API keys, passwords, and other credentials. However, these secrets cannot be read or retrieved programmatically using your own functions. They can only be accessed server-side using NetSuite's functions to use it in requests. When distributing a SuiteApp, you cannot distribute the client ID and client secret directly. Instead, you can encrypt the credentials using a secret managed by API Secrets. The encrypted credentials can be hardcoded in the source, and the distributed secret is used to decrypt them. Please note that you cannot create an API secret programmatically. The secret has to be created and managed through the "API Secrets" app in the NetSuite UI. ****** 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/07/2024, 10:12 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83762455
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833128512
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820141
Celigo AI
11/07/2024, 10:12 AM