Fajar Hidayatullah
Fajar Hidayatullah

Reputation: 311

Generate private key Firebase Admin SDK

I'm very new to Firebase, and I need a private key to access the Firebase Admin SDK for my backend. Actually, my company has been using Firebase for a long time, but no one knows where the private key is or if it has been generated.

enter image description here

Here are my questions:

  1. What will happen to the old private key when I click "generate"? Can we still use it, or will the key become obsolete and cause some services to stop working?
  2. Can the private key be used by multiple platforms simultaneously?

Thank you

Upvotes: 31

Views: 31294

Answers (1)

brandav
brandav

Reputation: 695

  1. What will happen to the old private key when I click "generate"? Can we still use it, or will the key become obsolete and cause some services to stop working?

Your old private key is stored, so you can still use it if you decide to generate a new private key.

  1. Can the private key be used by multiple platforms simultaneously?

Yes

You can use both keys at the same time for different purposes.

You can manage your keys here.

Select your project and look under Key Id to find all the keys you have generated. You can also delete old or unused keys.

Upvotes: 40

Related Questions