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

This commit is contained in:
Erik Sundell 2018-10-09 11:40:07 +02:00
parent c1164f5c00
commit 1a838ce75d

View File

@ -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-----
```