ERP Lover
01/30/2025, 1:10 PMcustsecret
object would allow secrets to have different values per NetSuite account where my SuiteApp is installed. However, after deploying my SuiteApp to another account, I noticed that I can’t modify the secrets individually for each account.
Are the secrets defined in the originating NetSuite account globally applied to all instances where my SuiteApp is installed? If so, that would mean secrets are not account-specific, which is a problem if I need unique values per NetSuite environment.
What would be the best approach to manage secrets on a per-account basis in this case?Anthony OConnor
01/30/2025, 3:14 PMAnthony OConnor
01/30/2025, 3:14 PMERP Lover
01/30/2025, 3:14 PMAnthony OConnor
01/30/2025, 3:15 PMAnthony OConnor
01/30/2025, 3:18 PMAnthony OConnor
01/30/2025, 3:18 PMAnthony OConnor
01/30/2025, 3:21 PMERP Lover
01/30/2025, 3:23 PMcustsecret
object is because I followed this guide: https://blogs.oracle.com/developers/post/managing-suiteapp-api-secrets and when doing it like the guide states the secrets are created in the environment. But they are globally defined and you can't change them on a per account basis.Anthony OConnor
01/30/2025, 3:26 PMAnthony OConnor
01/30/2025, 3:26 PMerictgrubaugh
01/30/2025, 3:27 PMAnthony OConnor
01/30/2025, 3:28 PMerictgrubaugh
01/30/2025, 3:29 PMERP Lover
01/30/2025, 3:33 PMerictgrubaugh
01/30/2025, 5:10 PMerictgrubaugh
01/30/2025, 5:14 PMAnthony OConnor
01/30/2025, 5:21 PMerictgrubaugh
01/30/2025, 5:23 PMERP Lover
01/31/2025, 3:25 PMoptions.restrictToScriptIds
when using Form.addCredentialField(options)
. This is of course fine initially, but what happens if I'm adding new scripts that want to utilise the credentials my user has inputted? Does that mean they would have to re-enter the credentials again? This seems a bit odd compared to the API Secrets functionality where one can allow a whole SuiteApp by id, e.g. com.mycompany.myapp
.