There was an error granting Firebase Service Agent access to your secret

Viewed 455

I am facing an error while installing an Algolia extension into my firebase project.

Error-

enter image description here

When I click on the "Create secret" button, the error below is visible

enter image description here

2 Answers

Only admin can add Key. Check your project permission

When installing the extension it will ask you to enable the secrets API, what this does is enables the Secrets Manager API from google cloud (what firebase is built on top of). You can manually check this is enabled with the below URL, and if its not - enable it.

https://console.cloud.google.com/apis/api/secretmanager.googleapis.com/overview?project=YOUR_PROJECT_ID

As with all google cloud API's, when you enable them it takes a few minutes for the changes to propagate. Try again in ten minutes, and you will find your error is resolved, you're able to create the secret, and you can install the extension.

Related