You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added support passing credentials object parameter to Stackdriver
* updated API doc with object credentials
* added credentials object into cli
* updated cli and api docs
* fix
Type: `String` or `{ client_email: String, private_key: String }`*(optional)*
39
+
40
+
Full path to the JSON file containing the Google Service Credentials,
41
+
you can also use an object parameter with the client_email and the private_key instead of the path. Defaults to the GOOGLE_APPLICATION_CREDENTIALS environment variable. At least one has to be available.
39
42
40
-
Full path to the JSON file containing the Google Service Credentials. Defaults to the GOOGLE_APPLICATION_CREDENTIALS environment variable. At least one has to be available.
Copy file name to clipboardExpand all lines: docs/CLI.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ You can pass the following options via cli arguments:
22
22
| ------------- | ------------ |-------------|
23
23
| -V | --version | Output the version number |
24
24
| -p | --project <project>| Your Google Cloud Platform project ID (or use env var PROJECT_ID) |
25
-
| -c | --credentials <credentials>| The file path of the JSON file that contains your service account key (or use env var GOOGLE_APPLICATION_CREDENTIALS) |
25
+
| -c | --credentials <credentials>| The file path of the JSON file that contains your service account key (or use env var GOOGLE_APPLICATION_CREDENTIALS). you can also use clientEmail and privateKey instead of the path. |
26
+
| -e | --clientEmail <email>| Client email, part of credentials object provided by Google |
27
+
| -g | --privateKey <googleKey>| Private key, part of credentials object provided by Google. |
26
28
| -k | --key <key:customKey> | Repeatable `key:customKey` pairs for custom keys (see [API docs](./API.md#keys))
27
29
| -n | --logName | The resource to send logs to. Defaults to `{"type": "global"}`.
28
30
| -r | --resource <resourcejson> | Resource to send the logs to, input in JSON (see [API docs](./API.md#resource))
0 commit comments