Help

Storing sensitive information for my block

Topic Labels: Custom Extensions
Solved
Jump to Solution
1658 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Alec_Jones
5 - Automation Enthusiast
5 - Automation Enthusiast

Hey everybody,

If I have to use somet sensitive information in my code, like an API key, what’s the best way to do that?
I could put it right into the code, but my block to be open source (for the hackathon), so…any advice?

Cheers,
Alec

1 Solution

Accepted Solutions
andywingrave
10 - Mercury
10 - Mercury

Hey! You should always set up an environment variable with your keys so they are hidden,

Here’s a good article if you’re writing in React

See Solution in Thread

1 Reply 1
andywingrave
10 - Mercury
10 - Mercury

Hey! You should always set up an environment variable with your keys so they are hidden,

Here’s a good article if you’re writing in React