@@ -36,13 +36,13 @@ OpenCode supports multiple providers. Store keys for the providers you want to
3636use with [ stored secrets] ( ../security/credentials.md#stored-secrets ) :
3737
3838``` console
39- $ sbx secret set -g openai
40- $ sbx secret set -g anthropic
41- $ sbx secret set -g google
42- $ sbx secret set -g xai
43- $ sbx secret set -g groq
44- $ sbx secret set -g aws
45- $ sbx secret set -g openrouter
39+ $ sbx secret set openai
40+ $ sbx secret set anthropic
41+ $ sbx secret set google
42+ $ sbx secret set xai
43+ $ sbx secret set groq
44+ $ sbx secret set aws
45+ $ sbx secret set openrouter
4646```
4747
4848You only need to configure the providers you want to use. OpenCode detects
@@ -57,7 +57,7 @@ OpenCode Zen API keys aren't part of the built-in OpenCode credentials that
5757Set the ` OPENCODE_API_KEY ` environment variable on the host, then store it:
5858
5959``` console
60- $ sbx secret set-custom -g \
60+ $ sbx secret set-custom \
6161 --host opencode.ai \
6262 --env OPENCODE_API_KEY \
6363 --value "$OPENCODE_API_KEY"
@@ -73,8 +73,8 @@ OpenCode Zen also requires network access to `opencode.ai`:
7373$ sbx policy allow network opencode.ai:443
7474```
7575
76- If you add the custom secret globally with ` -g ` , recreate existing OpenCode
77- sandboxes so the new environment variable is available inside the sandbox.
76+ If you add a global custom secret, recreate existing OpenCode sandboxes so the
77+ new environment variable is available inside the sandbox.
7878
7979## Configuration
8080
0 commit comments