Can I upload a secret file like P12 JSON from Google API?

Hi!

working on integrating nodejs with google api/spreadsheets. We have the credentials in a json file. (includes the private key)
Is there any way to set this as a secret file?

I could try to copy paste each value as env secrets, but this is a bit cumbersome…

Thank you!

Hi @cristianbell,

When using a P12 JSON file; A good practice is to encode the content in base64 and use it as a secret value. Is it a possibility on your end?

good idea, I’ll try it out!

1 Like