Skip to content

Commit 702c036

Browse files
authored
Merge pull request #342 from cipherstash/docs/dev-docs-use-dashboard
docs(dev): update dev docs to use dashboard
2 parents f843f1f + f5dc4f7 commit 702c036

File tree

1 file changed

+18
-31
lines changed

1 file changed

+18
-31
lines changed

DEVELOPMENT.md

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,24 @@ mise run postgres:up --extra-args "--detach --wait"
2626
# Install latest eql into database
2727
mise run postgres:setup
2828

29-
# If this is your first time using CipherStash:
30-
# - install stash CLI
31-
# - `stash signup`
32-
33-
# If you have used CipherStash before:
34-
# - `stash login`
35-
36-
# Create minimal mise.local.toml
37-
# CS_WORKSPACE_CRN
38-
# CS_CLIENT_ACCESS_KEY
39-
# CS_DEFAULT_KEYSET_ID
40-
# CS_CLIENT_KEY
41-
# CS_CLIENT_ID
42-
43-
# Get the workspace ID
44-
stash workspaces
45-
# add to CS_WORKSPACE_CRN in the format: "crn:region:workspace-id" - eg. "crn:ap-southeast-2.aws:7WXWMKXKQU42PDB4"
46-
# NOTE: this is going to change so `stash workspaces` will return CRNs instead of IDs
47-
48-
# Create an access key
49-
stash access-keys create proxy
50-
# add to CS_CLIENT_ACCESS_KEY
51-
52-
# Create a dataset
53-
stash keysets create proxy
54-
# add to CS_DEFAULT_KEYSET_ID
55-
56-
# Create a client
57-
stash clients create --keyset-id $DEFAULT_KEYSET_ID proxy
58-
# add to CS_CLIENT_ID
59-
# add to CS_CLIENT_KEY
29+
# Create a stub mise.local.toml
30+
cat > mise.local.toml << 'EOF'
31+
[env]
32+
CS_WORKSPACE_CRN = ""
33+
CS_CLIENT_KEY = ""
34+
CS_CLIENT_ID = ""
35+
CS_CLIENT_ACCESS_KEY = ""
36+
CS_DEFAULT_KEYSET_ID = ""
37+
EOF
38+
39+
# In your browser:
40+
# - Sign in to https://dashboard.cipherstash.com
41+
# - Create or select a workspace
42+
# - Generate and copy the credentials to your clipboard
43+
44+
# In your terminal:
45+
# - Paste the credentials into mise.local.toml using your preferred text editor
46+
nano mise.local.toml
6047

6148
# Build and run Proxy
6249
mise run proxy

0 commit comments

Comments
 (0)