Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCP dataform default service account unable to access secret

Hi there! I've been trying to create a custom service account for dataform. I've given it the required roles like BQ Data Viewer, Dataform Service Agent, Secret Accessor etc. I've also given it the Service Account Token Creator role and added the default service account as principal. Following the steps mentioned here.

But!!! I still get an error when I try to connect to my git repo as below - 

 

Dataform's default service account is unable to access the configured secret. Make sure the secret exists and is shared with your Dataform default service account

 

Please help! 😞
@ms4446 

0 2 111
2 REPLIES 2

It looks like your Dataform repository is still using the default service account to access the secret token. Have you changed the service account in your Dataform repository's settings?

Sadly, I have. It shows the correct service account in my settings as well.