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
10 months ago
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
10 months ago
@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
10 months ago
I mean here (see pic). in bubble you can set the field as private key and it wont be accessible from others