Skip to content

Commit a8678f7

Browse files
committed
completed provisioning section
1 parent d70fdc2 commit a8678f7

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/sources/setup/provisioning.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ You can use any of the 3 types of provisioning:
3131

3232
## Using the API key authentication type
3333

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).
3535

3636
**Example**
3737

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.
3939

4040
```yaml
4141
apiVersion: 1
@@ -51,9 +51,13 @@ datasources:
5151
editable: true
5252
```
5353
54-
## Using the Google JWT file (service account) authentication type
54+
## Using the Google JWT service accounts authentication type
5555
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.
5761
5862
```yaml
5963
apiVersion: 1
@@ -74,6 +78,11 @@ datasources:
7478
7579
## Using the GCE authentication type
7680
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.
7786
7887
```yaml
7988
apiVersion: 1
@@ -86,4 +95,4 @@ datasources:
8695
defaultProject: 'your-project-id'
8796
version: 1
8897
editable: true
89-
```
98+
```

0 commit comments

Comments
 (0)