@farthershore/cli 0.14.6 → 0.14.8

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
@@ -315,6 +315,28 @@ Use `consumer list` first to discover `subscriberId`. `block` suspends a user
315
315
  and revokes active API keys. `remove` is irreversible and tears down subscriber
316
316
  state across billing, edge credentials, and subscriptions.
317
317
 
318
+ ### `farthershore secret`
319
+
320
+ Manage private business secrets. These are API-controlled operational values,
321
+ not repo-authored product behavior. Values are encrypted at rest and list/read
322
+ responses return metadata only.
323
+
324
+ ```bash
325
+ farthershore secret list weather-api --format json
326
+ printf '%s' "$CLERK_SECRET_KEY" | farthershore secret set weather-api \
327
+ CLERK_SECRET_KEY \
328
+ --from-stdin \
329
+ --target RUNTIME \
330
+ --format json
331
+ farthershore secret delete weather-api CLERK_SECRET_KEY --yes --format json
332
+ ```
333
+
334
+ Use `frontend env` for public browser-visible variables such as
335
+ `NEXT_PUBLIC_*`, `VITE_PUBLIC_*`, or analytics keys. Use `secret` for server
336
+ runtime and private build values. `BUILD` secrets are injected only into managed
337
+ frontend builds and require a redeploy after changes; `RUNTIME` secrets are for
338
+ trusted server/backend runtime code and are never emitted into browser config.
339
+
318
340
  ### `farthershore backend`
319
341
 
320
342
  Create BYO backends and provision runtime tokens for upstream services. Core
@@ -643,6 +665,7 @@ operation registry that generates the CLI command groups. Tool names use the
643
665
  `fs_promo_code_update`, `fs_promo_code_archive`,
644
666
  `fs_promo_code_reactivate`
645
667
  - Consumers: `fs_consumer_list`, `fs_consumer_block`, `fs_consumer_remove`
668
+ - Secrets: `fs_secret_list`, `fs_secret_set`, `fs_secret_delete`
646
669
  - Personas: `fs_persona_bootstrap`, `fs_persona_list`, `fs_persona_revoke`
647
670
  - Usage and maker tokens: `fs_usage_read`, `fs_maker_token_list`
648
671