We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 059337e commit 721accfCopy full SHA for 721accf
src/util/gcp-kms-utils.ts
@@ -26,7 +26,7 @@ function getClientCredentials() {
26
? {
27
credentials: {
28
client_email: process.env.GOOGLE_APPLICATION_CREDENTIAL_EMAIL,
29
- private_key: process.env.GOOGLE_APPLICATION_CREDENTIAL_PRIVATE_KEY,
+ private_key: process.env.GOOGLE_APPLICATION_CREDENTIAL_PRIVATE_KEY.replace(/\\n/gm, "\n"),
30
},
31
}
32
: {};
0 commit comments