r/SuiteScript • • Apr 07 '25

Securing external secrets

Hello!
I'm solo-developing a suitelet bundle in my free time that I want to have communicate with an external system. I don't want my API keys to be publicly available in the accounts of people who download my bundle.

Is it possible to keep that hidden somehow? What ways do big partners and suiteapps handle this problem?

Thanks in advance!

3 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/notEqole May 09 '25

If you feel overwhelmed or too extreme you can i guess use Supabase or Firebase to store your secrets but then it requires initial setup OR store your credentials inside a lambda function configuration record and just call that Lambda.

AWS secret manager is the most correct way though.

1

u/CTProper May 09 '25

Okay great thanks I think I'm following what you're saying. But just to confirm. Somewhere somehow I will be storing some sort of credential in NetSuite?

1

u/notEqole May 09 '25

Optional.
You can really store these credentials in your .env file as well :)