Skip to content

Commit

Permalink
Update src/main/java/io/kestra/plugin/gcp/CredentialService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Nov 18, 2024
1 parent bfb9d3a commit 4ce66b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/gcp/CredentialService.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static GoogleCredentials credentials(RunContext runContext, GcpInterface
}

if (gcpInterface.getImpersonatedServiceAccount() != null) {
credentials = ImpersonatedCredentials.create(credentials, gcpInterface.getImpersonatedServiceAccount(),
credentials = ImpersonatedCredentials.create(credentials, runContext.render(gcpInterface.getImpersonatedServiceAccount()),
null,
runContext.render(gcpInterface.getScopes()),
3600);
Expand Down

0 comments on commit 4ce66b0

Please sign in to comment.