Skip to content

Commit

Permalink
fix: parse line break for gcp env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck committed Nov 17, 2022
1 parent 059337e commit 721accf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/gcp-kms-utils.ts
Expand Up @@ -26,7 +26,7 @@ function getClientCredentials() {
? {
credentials: {
client_email: process.env.GOOGLE_APPLICATION_CREDENTIAL_EMAIL,
private_key: process.env.GOOGLE_APPLICATION_CREDENTIAL_PRIVATE_KEY,
private_key: process.env.GOOGLE_APPLICATION_CREDENTIAL_PRIVATE_KEY.replace(/\\n/gm, "\n"),
},
}
: {};
Expand Down

0 comments on commit 721accf

Please sign in to comment.