stackdriver: update docs, showing how to escape private key and use yaml multiline strings

pull/13574/head
Erik Sundell 7 years ago
parent c1164f5c00
commit 1a838ce75d
  1. 7
      docs/sources/features/datasources/stackdriver.md

@ -177,5 +177,10 @@ datasources:
tokenUri: https://oauth2.googleapis.com/token
clientEmail: stackdriver@myproject.iam.gserviceaccount.com
secureJsonData:
privateKey: "<contents of your Service Account JWT Key file>"
privateKey: |
-----BEGIN PRIVATE KEY-----
POSEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCb1u1Srw8ICYHS
...
yA+23427282348234=
-----END PRIVATE KEY-----
```

Loading…
Cancel
Save