I want to make a stripe api call. I need the stripe key in the header. but the key should be secret. how can i hide it? The AI told me to set the stripe key using the "set session cookies" action but this only allows to set the "access token".
Edwin Paul
19 days ago
Jan 20, 2025, 2:01 PM
Ideally you'd store it in the backend as an ENV variable. So use a backend solution like buildship, Comnoco or build your own thing through CF Workers or Edge Functions
ssssadsadasd
19 days ago
Jan 20, 2025, 2:03 PM
@Edwin Paul thanks. I am building edge functions with the help of ai. my question is: how can I access the env variable (which is in supabase) in toddle?
ssssadsadasd
19 days ago
Jan 20, 2025, 2:19 PM
I mean here (see pic). in bubble you can set the field as private key and it wont be accessible from others