How to NOT Screw Up Firebase Environment Variables

How to NOT Screw Up Firebase Environment Variables

Beyond Fireship

1 год назад

93,163 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@chrisvillarroel6257
@chrisvillarroel6257 - 13.01.2024 18:57

I read about that, firebase cloud functions takes yours .env in execution time and not when compiling time. So be careful if u want to put there yours firebase-admin sdk credentials, it wont work :( but for others vars it is fire!

Ответить
@ayami123
@ayami123 - 28.10.2023 02:07

doesn't work now

Ответить
@codewithtae6637
@codewithtae6637 - 24.10.2023 20:55

Can't you just git ignore your .env files instead of using secret manager?

Ответить
@alejandrombc
@alejandrombc - 21.04.2023 04:10

The only odd thing is that you need to have all .env files on the root of your project, I like to keep them on a separate folder to be more organized but looks like thats not possible right now :/

Ответить
@ShredNekM80
@ShredNekM80 - 16.01.2023 11:33

This was a lifesaver!!!

Ответить
@laki98sd
@laki98sd - 25.12.2022 01:01

Can anyone tell me where are those icons from? theme?

Ответить
@Pedro5antos_
@Pedro5antos_ - 20.10.2022 16:39

Thanks for sharing!

Ответить
@ricardocnn
@ricardocnn - 24.09.2022 00:55

More videos about firebase please.

Ответить
@ooogabooga5111
@ooogabooga5111 - 12.09.2022 15:05

lmaoo firebase is trolling with their pattern. They only introduced .env files now ? RIP

Ответить
@CaliburPANDAs
@CaliburPANDAs - 11.09.2022 00:08

good one Jeff.

Ответить
@francescogonzales1240
@francescogonzales1240 - 10.09.2022 21:36

You might want to think about franchising your channel or hiring someone to do the same thing on a different topic but with the same format. Things like ML, Cybersecurity, HPC, and so on. The format is obviously the secret sauce, but the topics you cover are what you feel most comfortable with, i.e. frontend development. Time to scale! :)

Ответить
@FaizanAnwerAliRupani
@FaizanAnwerAliRupani - 10.09.2022 11:51

I have been using it since it's in beta

Ответить
@chucknorris7995
@chucknorris7995 - 10.09.2022 08:57

Anybody know what file icons he has? I want.

Ответить
@tolfx
@tolfx - 09.09.2022 21:17

You should talk about CQRS and Event Sourcing :)

Ответить
@bimbyizhere6789
@bimbyizhere6789 - 09.09.2022 15:38

Was this a thing in nextjs or am trippin'?

Ответить
@nro337
@nro337 - 09.09.2022 14:12

Super important

Ответить
@amaechinaikechukwu8266
@amaechinaikechukwu8266 - 09.09.2022 12:42

What a coincidence, currently working with cloud functions

Ответить
@bastiana3611
@bastiana3611 - 09.09.2022 11:01

hello

Ответить
@halloyves
@halloyves - 09.09.2022 10:14

1'000'000$ hint: Use Doppler, it will change your life 😉

Ответить
@MrCombokey
@MrCombokey - 09.09.2022 09:46

Does this channel have any specific purpose, or just more videos from you?

Ответить
@camiscooked
@camiscooked - 09.09.2022 07:58

At this point I put fireship on my CV

Ответить
@shobitjain9619
@shobitjain9619 - 09.09.2022 07:51

Recently Integrated secret manager in my company's tech 😇

Ответить
@reoju7677
@reoju7677 - 09.09.2022 07:15

Laravel already had this a billion years ago.

Ответить
@Rituraj-vw2rk
@Rituraj-vw2rk - 09.09.2022 05:41

yesterday you have 20k subs
today is 39.5k
Love your new channel 🥰

Ответить
@00RV00
@00RV00 - 09.09.2022 05:37

AWS Lambdas have something very similar in a yaml format for a while now.

Ответить
@kinki2474
@kinki2474 - 09.09.2022 04:57

Little me, who thought fireship owns firebase

Ответить
@mustafazakiassagaf1757
@mustafazakiassagaf1757 - 09.09.2022 04:23

i might like this channel more than your main one

Ответить
@erickmoya1401
@erickmoya1401 - 09.09.2022 02:35

Do never commit a .env file

Ответить
@akcalder92
@akcalder92 - 09.09.2022 00:55

Awesome video

Ответить
@elvispalace
@elvispalace - 09.09.2022 00:24

this channel will hit 100k soon

Ответить
@freddyfozzyfilms2688
@freddyfozzyfilms2688 - 09.09.2022 00:10

yummy my hero

Ответить
@ChrisJaydenBeats
@ChrisJaydenBeats - 09.09.2022 00:01

Yuck, Firebase

Ответить
@rp2804
@rp2804 - 08.09.2022 23:52

React and next js you gotta prefix every var

Ответить
@tonyhart2744
@tonyhart2744 - 08.09.2022 23:21

You sound like fireship

Ответить
@toxaq
@toxaq - 08.09.2022 23:20

Rails has it better with an encrypted production file. Then all the server needs is the key. This way is weird with .env for dev and Secret Manager for prod.

Ответить
@erickheredia8910
@erickheredia8910 - 08.09.2022 22:37

The main issue here is that secret manager is expensive. The previous way was free and really good. Now Google found a way to monetize even using env files.

Ответить
@crashingflamingo3028
@crashingflamingo3028 - 08.09.2022 22:13

Love your "Hi mom"s you always include your videos :)

Ответить
@ajfalo-fi3721
@ajfalo-fi3721 - 08.09.2022 22:12

You should make one about AWS too

Ответить
@MaximeTrichard
@MaximeTrichard - 08.09.2022 22:05

Been a while since you didn't do a firebase video. Glad to see you back to the sources ! (and thanks for the pro-tip too)

Ответить
@AtomTCP
@AtomTCP - 08.09.2022 22:03

Just dont use nosql dbs

Ответить
@88dejw
@88dejw - 08.09.2022 21:58

Just for reference, if you're in Microsoft land, you can store secrets in azure keyvault

Ответить
@codingprograms2078
@codingprograms2078 - 08.09.2022 21:55

This new way seems a little bit cleaner. And you don't forget where they are😅

Ответить
@nathandowney9434
@nathandowney9434 - 08.09.2022 21:53

MORE

Ответить
@ajpalok
@ajpalok - 08.09.2022 21:39

Fireship is as great as always the main channel was!!! 😁

Ответить
@colbymchenry9570
@colbymchenry9570 - 08.09.2022 21:37

Stoked for this channel!

Ответить
@mygamesm
@mygamesm - 08.09.2022 21:34

since when is the terminal developer non friendly

Ответить
@bastoo0ctb
@bastoo0ctb - 08.09.2022 21:29

I don't use firebase nor cloud functions so I've always used .env files for my projects. Just add it to the .gitignore and it won't be committed. If I need one in a repo without sensitive information I make a .env.example with empty values for the sensitive fields.

Ответить