Skip to content

Commit fe13a1a

Browse files
docs: update gcp firestore docs (#4723)
Signed-off-by: nelson.parente <[email protected]>
1 parent f5cbb64 commit fe13a1a

File tree

1 file changed

+3
-3
lines changed
  • daprdocs/content/en/reference/components-reference/supported-state-stores

1 file changed

+3
-3
lines changed

daprdocs/content/en/reference/components-reference/supported-state-stores/setup-firestore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
metadata:
2424
- name: project_id
2525
value: <REPLACE-WITH-PROJECT-ID> # Required.
26+
- name: type
27+
value: <REPLACE-WITH-CREDENTIALS-TYPE> # Required.
2628
- name: endpoint # Optional.
2729
value: "http://localhost:8432"
2830
- name: private_key_id
@@ -45,8 +47,6 @@ spec:
4547
value: <REPLACE-WITH-ENTITY-KIND> # Optional. default: "DaprState"
4648
- name: noindex
4749
value: <REPLACE-WITH-BOOLEAN> # Optional. default: "false"
48-
- name: type
49-
value: <REPLACE-WITH-CREDENTIALS-TYPE> # Deprecated.
5050
```
5151
5252
{{% alert title="Warning" color="warning" %}}
@@ -58,6 +58,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
5858
| Field | Required | Details | Example |
5959
|--------------------|:--------:|---------|---------|
6060
| project_id | Y | The ID of the GCP project to use | `"project-id"`
61+
| type | Y | The credentials type | `"service_account"`
6162
| endpoint | N | GCP endpoint for the component to use. Only used for local development with (for example) [GCP Datastore Emulator](https://cloud.google.com/datastore/docs/tools/datastore-emulator). The `endpoint` is unnecessary when running against the GCP production API. | `"localhost:8432"`
6263
| private_key_id | N | The ID of the prvate key to use | `"private-key-id"`
6364
| privateKey | N | If using explicit credentials, this field should contain the `private_key` field from the service account json | `-----BEGIN PRIVATE KEY-----MIIBVgIBADANBgkqhkiG9w0B`
@@ -69,7 +70,6 @@ The above example uses secrets as plain strings. It is recommended to use a secr
6970
| client_x509_cert_url | N | The client certificate URL | `"https://www.googleapis.com/robot/v1/metadata/x509/x"`
7071
| entity_kind | N | The entity name in Filestore. Defaults to `"DaprState"` | `"DaprState"`
7172
| noindex | N | Whether to disable indexing of state entities. Use this setting if you encounter Firestore index size limitations. Defaults to `"false"` | `"true"`
72-
| type | N | **DEPRECATED** The credentials type | `"serviceaccount"`
7373

7474

7575
## GCP Credentials

0 commit comments

Comments
 (0)