question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is your feature request related to a problem? Please describe.

I’d like to be able to specify API secrets in a StackBlitz project without sharing them publicly. I’m fine with the code being shared publicly (because the repository itself is open-source), but I don’t want to have certain environment variables (e.g. API keys, secret tokens) shared publicly.

Describe the solution you’d like

I’d like to be able to specify secrets in a project’s settings (that are only accessible via process.env when I’m logged in). Essentially, I just want StackBlitz to have CodeSandbox’s existing secrets feature.

Describe alternatives you’ve considered

I could (if it’s possible) create a private StackBlitz project and then just add the environment variables in a .env.local file.

Additional context

I’m trying to get Tutorbook working as a StackBlitz project so that I can edit on the go (via any web browser) wherever I am.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:9
  • Comments:14

github_iconTop GitHub Comments

2reactions
mwisnickicommented, Aug 16, 2021

There’s an ugly workaround for frontend code - put them into localstorage of preview frame.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Surgery Secrets Support Tape – SUPPORT TAPE
Support Tape to help shrink loose skin from plastic surgery, weight loss, and pregnancy. Easy, step- by step video tutorials on how to...
Read more >
Contact | United States Secret Service
U.S. Secret Service 245 Murray Ln SW - BLDG T-5, Washington, DC 20223 202-406-5708. Counterfeit notes should NOT be sent to this address....
Read more >
Secrets
A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such...
Read more >
AWS Secrets Manager - AWS Documentation
Secrets Manager supports many types of secrets. However, Secrets Manager can natively rotate credentials for supported AWS databases without any additional ...
Read more >
Manage sensitive data with Docker secrets
A node only has access to (encrypted) secrets if the node is a swarm manager or if it is running service tasks which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found