I have vue project in codesandbox, but I would like add secret keys into my project (like token) for correct start project. How I can do it?
Or may be you can advice method for hiding token in my vue project on codesandbox?
Asked
Active
Viewed 43 times
0

Spartak Borisov
- 357
- 2
- 4
- 14
-
Now that you did added your key, you can follow this answer: https://stackoverflow.com/a/67705541/8816585 You of course don't need the `.env` part anymore because this is probably what the `Secret keys` section is doing here. – kissu Aug 31 '22 at 12:03
-
@kissu I didn't add key to project. I don't know how to add this button with server control panel in my vue project – Spartak Borisov Aug 31 '22 at 12:18
-
what button? what server control panel? you haven't explained what those mean and what exactly you want – yoduh Aug 31 '22 at 12:38
-
@yoduh I want add token to my vue project in codesandbox, but I don't know how to do it private. I want share with project for asking questions, but token must be hidden. – Spartak Borisov Aug 31 '22 at 12:46
-
At the end, it you need a repro or alike you don't really need to bother with that. Just mock enough data or do that somewhere else (more work). – kissu Aug 31 '22 at 15:20
-
Or try to see if you can somehow provide a limited token (rate, expiration etc...). – kissu Aug 31 '22 at 15:22