kylon-cli 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -159,21 +159,27 @@ be reached, it retains the cached IDs and reports that remote details are
159
159
  unavailable.
160
160
 
161
161
  Browser authorization includes the API origin in the saved workspace profile,
162
- so workspace commands do not require `--server-url` again. Canonical secrets
163
- are workspace resources with explicit agent grants:
162
+ so workspace commands do not require `--server-url` again. API keys are
163
+ write-only Connections with explicit agent grants. Create one by asking the
164
+ workspace's Kylon agent to start the secure Connection setup flow;
165
+ enter the Connection name, key, value, and optional icon in the app. The
166
+ workspace CLI can list granted key names and inject them into one child command:
164
167
 
165
168
  ```bash
166
169
  kylon workspace secret list --scope-workspace <WORKSPACE_ID>
167
- echo "my-secret" | kylon workspace secret set MY_KEY --value-stdin \
168
- --scope-workspace <WORKSPACE_ID>
170
+ kylon workspace secret run -- curl https://api.example.com/resource
169
171
  ```
170
172
 
173
+ `kylon workspace secret set` is retired. It accepts no secret value and only
174
+ prints guidance for the secure Connection flow.
175
+
171
176
  There is intentionally no top-level `kylon secret` command. The namespace
172
177
  selects the resource and identity without inspecting unrelated local credential
173
178
  state:
174
179
 
175
- - Use `kylon workspace secret list|set|delete` for canonical workspace secrets
176
- with browser authorization.
180
+ - Use `kylon workspace secret list|share|unshare|delete|run` for canonical
181
+ workspace secret grants with browser authorization. Create API keys through
182
+ the secure Connection flow in Kylon.
177
183
  - Use `kylon gateway secret list|set|delete --agent <agent-id>` for agent-local
178
184
  records, authenticated by this machine's computer credential through the
179
185
  per-agent computer routes.