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
Copy file name to clipboardExpand all lines: docs/sources/setup/provisioning.md
+14-5Lines changed: 14 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ You can use any of the 3 types of provisioning:
31
31
32
32
## Using the API key authentication type
33
33
34
-
You can use the basic API key authentication type by simply creating a new API Key for the Google Sheets from the Workspace. For more information about creating the API Key, refer to [Google Workspace guides](https://developers..google.com/workspace/guides/enable-apis#google-cloud-console)
34
+
You can use the basic API key authentication type by simply creating a new API Key for the Google Sheets from the Workspace. For more information about the Google Sheets API Key, refer to [Google Sheets API](https://developers.google.com/sheets/api/reference/rest).
35
35
36
36
**Example**
37
37
38
-
The following YAML snippet can be used to provision the Google Sheets data source for Grafana if you are using the API key authentication type.:
38
+
The following YAML snippet can be used to provision the Google Sheets data source for Grafana if you are using the API key authentication type.
39
39
40
40
```yaml
41
41
apiVersion: 1
@@ -51,9 +51,13 @@ datasources:
51
51
editable: true
52
52
```
53
53
54
-
## Using the Google JWT file (service account) authentication type
54
+
## Using the Google JWT service accounts authentication type
55
55
56
-
You can also use the Google JWT file authentication type that will allow you to authenticate for server-side applications or backend services that need to access Google APIs on behalf of a user or service account.
56
+
You can use the Google JSON Web Tokens (JWT) service accounts authentication type that will allow you to authenticate for server-side applications or backend services that need to access Google APIs on behalf of a user or service account. For more information about the Google Sheets API Key, refer to [Using JWT to authenticate users](https://cloud.google.com/api-gateway/docs/authenticating-users-jwt).
57
+
58
+
**Example**
59
+
60
+
The following YAML snippet can be used to provision the Google Sheets data source for Grafana if you are using the JWT (service account) authentication type.
57
61
58
62
```yaml
59
63
apiVersion: 1
@@ -74,6 +78,11 @@ datasources:
74
78
75
79
## Using the GCE authentication type
76
80
81
+
You can also use the Google Compute Engine (GCE) authentication type if you running applications or services on Google Compute Engine virtual machines as it provides a default service account that is associated with each virtual machin which can also be be used to authenticate and authorize access to Google services and APIs from within the virtual machine. For more information about the Google Sheets API Key, refer to [Authenticate to Compute Engine](https://cloud.google.com/compute/docs/authentication).
82
+
83
+
**Example**
84
+
85
+
The following YAML snippet can be used to provision the Google Sheets data source for Grafana if you are using the GCE authentication type.
0 commit comments