Comments (1)
@justadaniel you'll want to look up how env vars work with
- Vite: #41
and - GitHub Actions: https://github.com/Azure/actions-workflow-samples/blob/master/assets/create-secrets-for-GitHub-workflows.md
Once you have that working, note that your API key / secret will be stored in plain text unless you encrypt it somehow.
Depending on how far you want to secure this, you can look into various JS obfuscation plugins for Vite/Rollup (here's an example):
- https://www.npmjs.com/package/vite-plugin-obfuscator
- https://github.com/mohamad-supangat/vite-plugin-gnirts
But note that JS obfuscation isn't 100% secure, it can be reverse engineered given enough time. So you might want to also look into OAuth, JWT, or other token-based limited auth methods to suit your needs.
Closing out this issue as it's not something that needs to be fixed in Bolt. If you want to chat more, hit me up in the Discord, link in the readme.
from bolt-cep.
Related Issues (20)
- Audition support HOT 5
- Add Support for Audition, Media Encoder, InDesign, and Bridge
- The <extension name> extension could not be loaded because it was not properly signed. HOT 1
- Cant't acess .jsx files
- removeEventListener obj parameter not set as optional
- How to get this working in NextJS? HOT 1
- zxp password included as raw text in build bundle HOT 2
- API requests HOT 1
- Package.json should inherit extension name
- Cannot build with 2 panels in cep.config.ts HOT 3
- Types for Adobe stop at v22.0 HOT 1
- "TypeError: undefined is not an object" when calling evalEs HOT 3
- [Question] Using HMR within Adobe apps? HOT 1
- How to add pollyfils from es5 to ppro or etc
- jsx strings are garbled(jsx字符串乱码问题) HOT 2
- WASM modules not found but only in Production Build HOT 1
- copyAssets when `npm run dev` not only when building
- Including config.id from cep.config.ts cause the config bundled in browser code
- Add pnpm as well
- KeyInterest not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt-cep.