Skip to content

Commit 5f96901

Browse files
committed
update xorm tutorial to remove step to upload dataset
1 parent 6ac863b commit 5f96901

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

languages/go/xorm/.envrc.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ export CS_CLIENT_ACCESS_KEY=
66
# Used by Stash CLI
77
export CS_CLIENT_ID=
88
export CS_CLIENT_KEY=
9+
export CS_DATASET_ID=
910

1011
# Used by Proxy
1112
export CS_ENCRYPTION__CLIENT_ID=$CS_CLIENT_ID
1213
export CS_ENCRYPTION__CLIENT_KEY=$CS_CLIENT_KEY
14+
export CS_ENCRYPTION__DATASET_ID=$CS_DATASET_ID
1315
export CS_AUDIT__ENABLED=false
1416
export CS_DATABASE__PORT=5432
1517
export CS_DATABASE__USERNAME=postgres

languages/go/xorm/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ stash clients create xorm --dataset-id $CS_DATASET_ID
3535
# grab the client key and export CS_CLIENT_KEY=
3636
```
3737

38-
Upload the `dataset.yml` file in this directory.
39-
40-
```shell
41-
stash datasets config upload --file dataset.yml --client-id $CS_CLIENT_ID --client-key $CS_CLIENT_KEY --assume-yes
42-
```
43-
4438
Create an [access key](https://cipherstash.com/docs/how-to/creating-access-keys) for CipherStash Proxy:
4539

4640
```shell
@@ -56,7 +50,7 @@ Copy over the example `.envrc` file:
5650
cp .envrc.example .envrc
5751
```
5852

59-
Update the `.envrc` file with these environment variables `CS_WORKSPACE_ID`, `CS_CLIENT_ACCESS_KEY`, `CS_CLIENT_ID` and `CS_CLIENT_KEY`:
53+
Update the `.envrc` file with these environment variables `CS_WORKSPACE_ID`, `CS_CLIENT_ACCESS_KEY`, `CS_CLIENT_ID`, `CS_CLIENT_KEY` and `CS_DATASET_ID`:
6054

6155
```shell
6256
source .envrc

0 commit comments

Comments
 (0)