by Brett Eastman
/').firebase login' or 'firebase login:use <your-email>' to log in to your desired account.firebase apphosting:secrets:set' followed by the secret name, e.g., 'firebase apphosting:secrets:set firebase-api-key'.Y" to do so.apphosting.yaml is a config file that holds environment variables, secret bindings, and runtime settings for your backend.apphosting.yaml file for you. Select "Y" to do this automatically.apphosting.yaml file holds references to your secrets, allowing you to safely check it into source code without revealing sensitive information.apphosting:secrets:set' .apphosting:secrets:describe'.apphosting.yaml file. For example, if you wanted to roll back to version 1 of a Google API key secret, you would update your yaml file like this:env:
- variable: NEXT_PUBLIC_FIREBASE_API_KEY
secret: firebase-api-key@1