Skip to content

Commit 5b46c8f

Browse files
committed
Use an envvar for the iam user
1 parent 0e65023 commit 5b46c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secretmanager/api-client/snippets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def project_id():
4747

4848
@pytest.fixture()
4949
def iam_user():
50-
return 'user:[email protected]'
50+
return 'serviceAccount:' + os.environ['GCLOUD_SECRETS_SERVICE_ACCOUNT']
5151

5252

5353
@pytest.fixture()

0 commit comments

Comments
 (0)