You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lucetre
changed the title
Better security practice: Reduce the need for passing a service account key JSON file
Better security: Reduce the need for passing a service account key JSON file
Dec 7, 2024
If we use the auth_token as serviceAccountToken, we are facing the below error simply speaking no way to use ADC;
{
"status": "error",
"error": "Failed to authenticate, have you run \u001b[1mfirebase login\u001b[22m?"
}{
"status": "error",
"error": "Failed to authenticate, have you run \u001b[1mfirebase login\u001b[22m?"
}
The process '/home/runner/_work/_tool/node/22.12.0/x64/bin/npx' failed with exit code 1
Error: The process '/home/runner/_work/_tool/node/22.12.0/x64/bin/npx' failed with exit code 1
{
conclusion: 'failure',
output: {
title: 'Deploy preview failed',
summary: "Error: The process '/home/runner/_work/_tool/node/22.12.0/x64/bin/npx' failed with exit code 1"
}
}
The use case you're trying to solve
Reduce the need for explicitly managing and passing a service account key JSON file. Better security practice.
Change to the action that would solve that use case
firebaseServiceAccount
input optional to activate Google ADC (application default credentials).feat: make firebaseServiceAccount input optional #398
Other considerations
N/A
The text was updated successfully, but these errors were encountered: