You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`file://~/.secret/mcp-sqlkit` (persistent on disk)
88
+
-`gcp://secretmanager/projects/...` or `vault://...` (external managers)
79
89
80
90
The server will print something similar to:
81
91
@@ -117,6 +127,10 @@ applied.
117
127
}
118
128
```
119
129
130
+
CLI overrides
131
+
132
+
- The `--secretsBase` flag overrides `connector.secretBaseLocation` from the config file.
133
+
120
134
### Pre-configured connectors
121
135
122
136
In addition to adding connectors at runtime you can **pre-load** connection
@@ -300,6 +314,7 @@ Key points about secret storage:
300
314
on disk set `connector.secretBaseLocation` to a `file://` path (e.g.
301
315
`file://~/.secret/mcpt`). You can also point it to `gsecret://` or
302
316
`vault://` according to your environment.
317
+
* Prefer the CLI flag `--secretsBase <base-url>` to set the storage location at runtime; it overrides the config and is recommended for persistent or remote deployments.
Copy file name to clipboardExpand all lines: cmd/mcp-sqlkit/options.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,5 +14,5 @@ type Options struct {
14
14
15
15
// Base URL for secrets storage (scy). Supports mem://, file://,
16
16
// Defaults to in-memory AFS storage.
17
-
SecretBaseLocationstring`long:"secrets" description:"Base URL for secrets storage (mem://, file://, gcp://secretmanager/projects/xxxx/ ... see for list of secure connector https://github.com/viant/afsc )" default:"mem://localhost/mcp-sqlkit/.secret/"`
17
+
SecretBaseLocationstring`long:"secretsBase" description:"Base URL for secrets storage (mem://, file://, gcp://secretmanager/projects/xxxx/ ... see for list of secure connector https://github.com/viant/afsc )" default:"mem://localhost/mcp-sqlkit/.secret/"`
0 commit comments