Skip to content

Commit

Permalink
Pass separate credentials-object to GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
miro committed Jan 9, 2016
1 parent cccc985 commit 38c3fe0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configs/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ cfg.gcs = {
"auth_uri": process.env.DAKDAK_GCS_AUTH_URI,
"token_uri": process.env.DAKDAK_GCS_TOKEN_URI,
"auth_provider_x509_cert_url": process.env.DAKDAK_GCS_AUTH_PROVIDER_X509_CERT_URL,
"client_x509_cert_url": process.env.DAKDAK_GCS_CLIENT_X509_CERT_URL
"client_x509_cert_url": process.env.DAKDAK_GCS_CLIENT_X509_CERT_URL,

credentials: {
"private_key": process.env.DAKDAK_GCS_PRIVATE_KEY,
"client_email": process.env.DAKDAK_GCS_CLIENT_EMAIL
}
};

cfg.jwt = { secret: process.env.DAKDAK_JWT_SECRET };
Expand Down

0 comments on commit 38c3fe0

Please sign in to comment.