Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

docs(credentials): teach the platform Store in the Profile reference

Mikee Ai5e0b7560169a
diff --git a/packages/video-cli/README.md b/packages/video-cli/README.md
index 7ac07375..18576d97 100644
--- a/packages/video-cli/README.md
+++ b/packages/video-cli/README.md
@@ -35,10 +35,12 @@ Keep an existing chosen service, or configure the chosen local or hosted Provide
bindings. HypiHub is the recommended integrated hosted route in the official Distribution; other
services use project Provider packages. If the user chooses HypiHub,
`hypit auth login hypihub.default` connects that account after choosing its CredentialStore.
-The starter selects the OS store for macOS Keychain / Windows Credential Locker. On Linux, or when
-explicitly choosing file storage, edit the Profile's `credentials` and Endpoint reference as shown
-in [file CredentialStore](../credential-store-file/README.md#select-it-before-login) before `auth` or
-`runtime up`. This selection is configuration; execution never switches stores automatically.
+The starter selects the [platform CredentialStore](../credential-store-platform/README.md#select-it):
+macOS Keychain or Windows Credential Locker on those two platforms, and an owner-private file on
+Linux, so the Profile it writes needs no edit on any of them. Name another Store in `credentials` and
+in the Endpoint's credential reference — as the
+[file CredentialStore](../credential-store-file/README.md#select-it-before-login) shows — to choose it
+explicitly. This selection is configuration; execution never switches stores automatically.
`hypit doctor --endpoint <name>` checks a selected Endpoint;
`hypit runtime up --endpoint <name>` prepares that Endpoint and starts the Worker. Repeat the flag
for several chosen Endpoints; omitting it prepares the whole Profile. `hypit programs up --endpoint
diff --git a/skills/hypit/references/environment/profile.md b/skills/hypit/references/environment/profile.md
index b7d15932..a5738ca4 100644
--- a/skills/hypit/references/environment/profile.md
+++ b/skills/hypit/references/environment/profile.md
@@ -242,18 +242,20 @@ and project implementation; see [Build execution scope](../production/builds.md#
## Put secrets behind credential references
-A Profile names a Credential Store and key; the secret stays in that store. The writable OS store
-uses macOS Keychain or Windows Credential Locker. The environment store reads one explicitly named
-environment variable and is read-only. The writable file store is available for Linux or an explicit
-choice of local file storage; it stores unencrypted values outside the project, not in an OS locker.
-
-`runtime init` writes an editable starter that selects the OS store. Before `auth` or `runtime up`
-on Linux, explicitly change `credentials` to `{ "file": { "use": "@hypit/credential-store-file" } }`
-and change the selected Endpoint's credential reference to `{ "store": "file", "key": "<chosen-key>" }`.
-Preserve other Endpoint settings and bindings. Its default directory is `credentials` under the Host
-state root printed by `hypit paths`; an optional Store `config.path` chooses another private directory.
-On Windows, ensure that directory's ACL is private to the user. Preserve an existing Store choice;
-never switch or migrate credentials just because one Store could not read them.
+A Profile names a Credential Store and key; the secret stays in that store. The platform store is the
+portable choice: macOS Keychain or Windows Credential Locker on those two platforms, and an
+owner-private file on Linux. The OS store is that same locker on macOS and Windows only. The
+environment store reads one explicitly named environment variable and is read-only. The file store
+always stores an unencrypted document outside the project, never in an OS locker.
+
+`runtime init` writes an editable starter that selects the platform store, so the Profile it writes
+opens on every host without an edit. Selecting one Store explicitly instead means naming it in
+`credentials` and in the Endpoint's credential reference, as
+`{ "file": { "use": "@hypit/credential-store-file" } }` and
+`{ "store": "file", "key": "<chosen-key>" }`, while preserving other Endpoint settings and bindings. File-backed storage writes into `credentials` under
+the Host state root printed by `hypit paths`, and an optional Store `config.path` chooses another
+private directory; ensure a Windows directory's ACL is private to the user. Preserve an existing
+Store choice; never switch or migrate credentials just because one Store could not read them.
Inspect one Endpoint's credential slots without revealing their values: