[Feature] Provide a recommendation for fine grain, minimum required permissions to use dbt-bigquery
#1396
Labels
enhancement
New feature or request
dbt-bigquery
#1396
Is this your first time submitting a feature request?
Describe the feature
The current docs suggest applying the built-in roles of
BigQuery User
andBigQuery Data Editor
to the account runningdbt-bigquery
. However, these roles include a lot of permissions that are not required. It's ideal to provide minimum access to service accounts, but I don't know what that should be. I understand this also could change over time as features are added. Given that some of these features are optional, it would also be nice to know what permissions I need to use a feature, or more in line with this request, what permissions are not needed if I'm not using a particular feature.Describe alternatives you've considered
I could figure this out myself by incrementally adding permissions until runs pass, but this is time consuming and only solves the problem for me. Also, this could change over time as
dbt-bigquery
gains new features.Who will this benefit?
This will benefit security-minded users and organizations who want to minimize the access of their service accounts.
Anything else?
It looks like this permission set may work:
It may be worth specified required permissions for SQL models only, and then additional permissions to run python models. The above looks like it may be just the former.
The text was updated successfully, but these errors were encountered: