Skip to main content
Question

Storing sensitive variables

  • February 23, 2025
  • 0 replies
  • 25 views

DesingLens

I am trying to build a plugin, with aws cognito as auth system. As I can’t access `wndow` object I have to make localized sign-in sign-out experience. For this I need to store few env variables like app id, client id, etc.

I am using vite and preact https://github.com/mryechkin/figma-vite for building this, and when I build this using vite, it exposes my env variables when I inspect element. Is there a way to store them, so they are private?

This topic has been closed for replies.