Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Add dns readonly scope
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Levenick <[email protected]>
  • Loading branch information
slevenick committed Jan 14, 2019
1 parent 50b0ae5 commit 9803239
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/gcp_backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ def initialize
def fetch_auth
unless @service_account_file.nil?
return Network::Authorization.new.for!(
['https://www.googleapis.com/auth/compute.readonly', 'https://www.googleapis.com/auth/pubsub'],
[
'https://www.googleapis.com/auth/compute.readonly',
'https://www.googleapis.com/auth/pubsub',
'https://www.googleapis.com/auth/ndev.clouddns.readonly',
],
).from_service_account_json!(
@service_account_file,
)
Expand Down

0 comments on commit 9803239

Please sign in to comment.