Grafana - michelin Snowflake - Private Key

Job ID: 39366690

Budget: $10 – $30 AUD

I have a grafana instance I have set up in a local docker container.
I am using the plugin from https://github.com/michelin/snowflake-grafana-datasource and it works.

Though no matter how a try to format it, I cannot successfully provision the private_key.

apiVersion: 1

datasources:
- name: SNOWFLAKEDB
type: michelin-snowflake-datasource
access: proxy
uid: 1
isDefault: true
editable: true
jsonData:
account: xxxxxxx-yyyyyyy.snowflakecomputing.com
authMethod: keyPair
database: SANDBOX
role: GRAFANA_ROLE
schema: PUBLIC
username: GRAFANA_USER
warehouse: WH_DATA
secureJsonData:
privateKey: |
"-----BEGIN PRIVATE KEY-----"
"XXXXXAASCBKcwggSjAgEAAoIBAQDM6dTVgSLyQ66P"
"YYYYx2HQSTmpVJFcA1jDMr31+u3cmxsv16PoJt4sR8OjWk9dCpnou92afS5wAZF"
"ZZZZZfLRXhv2B6j3H3Ay8q4b0ccxxQhfb/QbAwI83GZbJlMGcbXJl0SV1tDtSWeZj"
"MCUjcyATowEhMRU0Cbh71NVsPSE5VZZS7N1/s55B/avhdIgahfdoegSKogedYhZr"
"Lvvmb4iCEFTsEfDMXOPoS2I53jHvsFJXd56qSeQ9VgJYH0TO5woSxeku+KNRoL2h"
"6WBFej4Cub96BiRZibPAag1HOrzvZ5E+Ko1yBm8ot6mvk8N3Snn5/e3r0mwe8YqV"
"sIulbt+hAgMBAAECggEAUYwI8EKpBqKauHJFfb9H3Ai3x7YpDIswOKfhqkpaezHl"
"Jk3uMthmptxOELuEEzn.......

The key works fine when pasted in grafana gui running on my M4 mac.

I need a working example.

I do not want to use the enterprise plugin.

Preferably that can pull the private_key as a file and pass it successfully in grafana, By successfully, I mean the datasource can connect to snowflake after provisioning.
Related categories: Bash Scripting Docker Compose Snowflake