From e541d7d2cea49a963c2861a8cba73666fa78cbfc Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sun, 30 Jul 2023 12:54:10 +0200 Subject: [PATCH] Improved .env file --- examples/firebase/functions/.env | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/examples/firebase/functions/.env b/examples/firebase/functions/.env index 7aa5e11..8f50a2b 100644 --- a/examples/firebase/functions/.env +++ b/examples/firebase/functions/.env @@ -1,4 +1,25 @@ -WWDR=1234 #TODO change this with the content of your WWDR Certificate -SIGNER_CERT=1234 #TODO change this with the content of your Signer Certificare -SIGNER_KEY=1234 #TODO change this with the content of your Signer Key certificate -SIGNER_KEY_PASSPHRASE=12356 #TODO change this with the passphrase of your SIGNER_KEY \ No newline at end of file +# Please note that these could be considered like +# secrets, so using an .env file might not be the +# best solution. +# +# It is fine for the purpose of demostrating how +# a firebase cloud functions is created and +# deployed when using passkit-generator +# +# +# For production you might want to check how to +# deploy secrets. +# +# Check: https://firebase.google.com/docs/functions/config-env?gen=2nd#secret-manager + +#TODO change this with the content of your WWDR certificate +WWDR="" + +#TODO add inside quotes the content of your signer certificate +SIGNER_CERT="" + +#TODO add inside quotes the content of your signer key certificate +SIGNER_KEY="" + +#TODO change this with the passphrase of your SIGNER_KEY +SIGNER_KEY_PASSPHRASE=123456 \ No newline at end of file