Skip to content

Commit

Permalink
Use an envvar for the iam user
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Jan 29, 2020
1 parent 0e65023 commit 5b46c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secretmanager/api-client/snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def project_id():

@pytest.fixture()
def iam_user():
return 'user:sethvargo@google.com'
return 'serviceAccount:' + os.environ['GCLOUD_SECRETS_SERVICE_ACCOUNT']


@pytest.fixture()
Expand Down

0 comments on commit 5b46c8f

Please sign in to comment.